diff options
Diffstat (limited to 'lib/libarchive/Makefile')
-rw-r--r-- | lib/libarchive/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile index df3612b..98197ab 100644 --- a/lib/libarchive/Makefile +++ b/lib/libarchive/Makefile @@ -13,12 +13,9 @@ VERSION= 1.2.53 ARCHIVE_API_MAJOR!= echo ${VERSION} | sed -e 's/\..*//' ARCHIVE_API_MINOR!= echo ${VERSION} | sed -e 's/[0-9]*\.//' | sed -e 's/\..*//' -# The FreeBSD SHLIB_MAJOR is computed from the above values. -# To bump SHLIB_MAJOR, increase the MINOR number in "version" file. -SHLIB_MAJOR!= echo $$((${ARCHIVE_API_MAJOR} + ${ARCHIVE_API_MINOR})) -# The SHLIB_MAJOR computation above attempts to match the -# version number generated by libtool. (This may change -# when the FreeBSD port of libtool gets fixed.) +# FreeBSD SHLIB_MAJOR value is managed as part of the FreeBSD system. +# It has no real relation to the version number above. +SHLIB_MAJOR= 3 CFLAGS+= -DPACKAGE_NAME=\"lib${LIB}\" CFLAGS+= -DPACKAGE_VERSION=\"${VERSION}\" |