summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/Makefile
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2007-04-12 04:44:21 +0000
committerkientzle <kientzle@FreeBSD.org>2007-04-12 04:44:21 +0000
commit7d72f414792a760bf03f1890056c7f96a1bc1ddf (patch)
treeb5524bd39af474e5bb7846f2704bf6920f69673b /lib/libarchive/Makefile
parent074fb0c77f6e4db4231d4f0e526a9419ed3686f5 (diff)
downloadFreeBSD-src-7d72f414792a760bf03f1890056c7f96a1bc1ddf.zip
FreeBSD-src-7d72f414792a760bf03f1890056c7f96a1bc1ddf.tar.gz
Now that libarchive is being built in more environments,
factor out the platform-specific configuration header a bit more cleanly. Suggested by: Joerg Sonnenberger
Diffstat (limited to 'lib/libarchive/Makefile')
-rw-r--r--lib/libarchive/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index 0fd956d..83fbe5c 100644
--- a/lib/libarchive/Makefile
+++ b/lib/libarchive/Makefile
@@ -9,7 +9,7 @@ LDADD= -lbz2 -lz
# Major: Bumped ONLY when API/ABI breakage happens (see SHLIB_MAJOR)
# Minor: Bumped when significant new features are added
# Revision: Bumped on any notable change
-VERSION= 2.0.27
+VERSION= 2.0.28
ARCHIVE_API_MAJOR!= echo ${VERSION} | sed -e 's/[^0-9]/./g' -e 's/\..*//'
ARCHIVE_API_MINOR!= echo ${VERSION} | sed -e 's/[^0-9]/./g' -e 's/[0-9]*\.//' -e 's/\..*//'
@@ -20,6 +20,7 @@ SHLIB_MAJOR= 4
CFLAGS+= -DPACKAGE_NAME=\"lib${LIB}\"
CFLAGS+= -DPACKAGE_VERSION=\"${VERSION}\"
+CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\"
CFLAGS+= -I${.OBJDIR}
WARNS?= 6
OpenPOWER on IntegriCloud