diff options
| author | Tim Kientzle <kientzle@FreeBSD.org> | 2009-05-30 17:26:55 +0000 |
|---|---|---|
| committer | Tim Kientzle <kientzle@FreeBSD.org> | 2009-05-30 17:26:55 +0000 |
| commit | 0b3daf486dcf9cbb0d1dca9a744c7ffc7f82be95 (patch) | |
| tree | 3e04a5f2956af47802f418a45ed0cb62bab29090 /lib/libarchive/Makefile | |
| parent | d4da719cf68278eecb8e66096676b62d0265ec51 (diff) | |
Notes
Diffstat (limited to 'lib/libarchive/Makefile')
| -rw-r--r-- | lib/libarchive/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile index b4952d0c62443..44a6301dd7444 100644 --- a/lib/libarchive/Makefile +++ b/lib/libarchive/Makefile @@ -2,7 +2,7 @@ .include <bsd.own.mk> LIB= archive -DPADD= ${LIBBZ2} ${LIBZ} +DPADD= ${LIBBZ2} ${LIBZ} ${LIBMD} LDADD= -lbz2 -lz -lmd # FreeBSD SHLIB_MAJOR value is managed as part of the FreeBSD system. @@ -12,15 +12,16 @@ SHLIB_MAJOR= 4 CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\" CFLAGS+= -I${.OBJDIR} #Uncomment to build with full lzma/xz support via liblzma +#liblzma is not (yet?) part of the FreeBSD base system #CFLAGS+= -I/usr/local/include -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1 #LDADD+= -L/usr/local/lib -llzma .if ${MK_OPENSSL} != "no" CFLAGS+= -DWITH_OPENSSL -LDFLAGS+= -lcrypto +DPADD+= ${LIBCRYPTO} +LDADD+= -lcrypto .endif - WARNS?= 6 # Headers to be installed in /usr/include |
