diff options
author | dbj <dbj@pkgsrc.org> | 2015-01-26 07:15:44 +0000 |
---|---|---|
committer | dbj <dbj@pkgsrc.org> | 2015-01-26 07:15:44 +0000 |
commit | aec26d3d5fb7ad5a4c1d701df945c807ad1a9315 (patch) | |
tree | d0a9b13e5f94c0833eb7839d7633dbbd2e477301 /ham | |
parent | 505441b91400a20934c0864f75aee0dcb070666d (diff) | |
download | pkgsrc-aec26d3d5fb7ad5a4c1d701df945c807ad1a9315.tar.gz |
on second thought, decouple shared library patchlevel from ${PKGREVISION}
Diffstat (limited to 'ham')
-rw-r--r-- | ham/libmirisdr/Makefile | 10 | ||||
-rw-r--r-- | ham/libmirisdr/PLIST | 4 |
2 files changed, 8 insertions, 6 deletions
diff --git a/ham/libmirisdr/Makefile b/ham/libmirisdr/Makefile index 2e689c1858e..2e7f03cb7fc 100644 --- a/ham/libmirisdr/Makefile +++ b/ham/libmirisdr/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2015/01/26 07:05:04 dbj Exp $ +# $NetBSD: Makefile,v 1.5 2015/01/26 07:15:44 dbj Exp $ PKGNAME= libmirisdr-0.1 -PKGREVISION= 1 +PKGREVISION= 2 DISTNAME= libmirisdr-${VERSION} VERSION= 59ba372 CATEGORIES= ham @@ -19,12 +19,14 @@ USE_CMAKE= yes # Suppress warning for developer CMAKE_ARGS+= -Wno-dev -PLIST_SUBST+= PKGREVISION=${PKGREVISION:U0} +# Fix the shared libarary patchlevel +SHLIBPATCHLEVEL= 0 +PLIST_SUBST+= SHLIBPATCHLEVEL=${PATCHLEVEL:U0} SUBST_CLASSES+= patchlevel SUBST_STAGE.patchlevel= pre-configure SUBST_MESSAGE.patchlevel= Fixing library version patchlevel SUBST_FILES.patchlevel= CMakeLists.txt -SUBST_SED.patchlevel= -e 's,\(VERSION_INFO_PATCH_VERSION\) git,\1 ${PKGREVISION:U0},' +SUBST_SED.patchlevel= -e 's,\(VERSION_INFO_PATCH_VERSION\) git,\1 ${SHLIBPATCHLEVEL:U0},' .include "../../devel/libusb1/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/ham/libmirisdr/PLIST b/ham/libmirisdr/PLIST index 5202ec6e997..86b76283b21 100644 --- a/ham/libmirisdr/PLIST +++ b/ham/libmirisdr/PLIST @@ -1,9 +1,9 @@ -@comment $NetBSD: PLIST,v 1.2 2015/01/26 06:58:56 dbj Exp $ +@comment $NetBSD: PLIST,v 1.3 2015/01/26 07:15:44 dbj Exp $ bin/miri_sdr include/mirisdr.h include/mirisdr_export.h lib/libmirisdr.a lib/libmirisdr.so lib/libmirisdr.so.0 -lib/libmirisdr.so.0.0.${PKGREVISION} +lib/libmirisdr.so.0.0.${SHLIBPATCHLEVEL} lib/pkgconfig/libmirisdr.pc |