summaryrefslogtreecommitdiff
path: root/archivers/bsdtar/files/patch-Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-07-18 11:18:21 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-07-18 11:18:21 +0000
commit3c101f484041a89ce47c6498a5cf943f9d1e96f7 (patch)
tree1cb43eb7fa9cd1f9698f4a9434b782ef34c8f67d /archivers/bsdtar/files/patch-Makefile
parentmod_ssl format string vulnerability (diff)
[NEW PORT] archivers/bsdtar
Port of the bsdtar archiver for FreeBSD systems prior to 502111 PR: ports/68054 Submitted by: Martin Matuska <matuska@tradex.sk>
Notes
Notes: svn path=/head/; revision=113897
Diffstat (limited to 'archivers/bsdtar/files/patch-Makefile')
-rw-r--r--archivers/bsdtar/files/patch-Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/archivers/bsdtar/files/patch-Makefile b/archivers/bsdtar/files/patch-Makefile
new file mode 100644
index 000000000000..9d32a5a70b9a
--- /dev/null
+++ b/archivers/bsdtar/files/patch-Makefile
@@ -0,0 +1,17 @@
+--- Makefile.orig Thu Jun 3 23:46:09 2004
++++ Makefile Sun Jul 18 10:58:12 2004
+@@ -4,12 +4,8 @@
+ SRCS= bsdtar.c matching.c read.c util.c write.c
+ WARNS?= 6
+ DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
+-LDADD= -larchive -lbz2 -lz
+-
+-.if defined(WITH_BSDTAR)
+-SYMLINKS= ${BINDIR}/bsdtar ${BINDIR}/tar
+-MLINKS= bsdtar.1 tar.1
+-.endif
++LDADD= -L%%LOCALBASE%%/lib/ %%LOCALBASE%%/lib/libarchive.a -lbz2 -lz
++CFLAGS+=-I%%LOCALBASE%%/include
+
+ .include <bsd.prog.mk>
+