403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/textproc/2bsd-diff/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/textproc/2bsd-diff/files/patch-Makefile
--- Makefile.orig	1996-10-22 04:29:46 UTC
+++ Makefile
@@ -1,10 +1,14 @@
 #	@(#)Makefile	4.1.1	1996/10/21
 #
-DIFF=	/bin/diff
-DIFFH=	/usr/libexec/diffh
-PR=	/bin/pr
-CFLAGS=	-O -DDIFF='"${DIFF}"' -DDIFFH='"${DIFFH}"' -DPR='"${PR}"'
-SEPFLAG=-i
+DIFF=	${PREFIX}/bin/2diff
+DIFFH=	${PREFIX}/libexec/2diffh
+PR=	/usr/bin/pr
+CFLAGS+=-DDIFF='"${DIFF}"' -DDIFFH='"${DIFFH}"' -DPR='"${PR}"'
+# SEPFLAG should be:
+#	not on a PDP-11:		SEPFLAG =
+#	PDP-11 with separate I&D:	SEPFLAG = -i
+#	PDP-11 without separate I&D:	SEPFLAG = -n
+SEPFLAG=
 DESTDIR=
 
 SRCS=	diff.c diffdir.c diffreg.c
@@ -14,14 +18,15 @@ OBJS=	diff.o diffdir.o diffreg.o
 all: diff diffh
 
 diff: ${OBJS}
-	cc ${CFLAGS} -o diff ${OBJS} ${SEPFLAG} ${LDFLAGS}
+	${CC} ${CFLAGS} -o diff ${OBJS} ${SEPFLAG} ${LDFLAGS}
 
 diffh: diffh.o
-	cc -o diffh diffh.o ${SEPFLAG} ${LDFLAGS}
+	${CC} ${CFLAGS} -o diffh diffh.o ${SEPFLAG} ${LDFLAGS}
 
 clean:
 	rm -f diff diffh ${OBJS} diffh.o
 
 install: all
-	install -s diff ${DESTDIR}/bin/diff
-	install -s diffh ${DESTDIR}/usr/libexec/diffh
+	${BSD_INSTALL_PROGRAM} diff  ${DESTDIR}${DIFF}
+	${BSD_INSTALL_PROGRAM} diffh ${DESTDIR}${DIFFH}
+	${BSD_INSTALL_MAN}     ../../man/man1/diff.1 ${DESTDIR}${MANPREFIX}/man/man1/2diff.1

Youez - 2016 - github.com/yon3zu
LinuXploit