diff options
author | dbj <dbj@pkgsrc.org> | 2015-01-26 06:58:56 +0000 |
---|---|---|
committer | dbj <dbj@pkgsrc.org> | 2015-01-26 06:58:56 +0000 |
commit | a51d2aa4f13d7629e1c4b86fd3b4562977e1f948 (patch) | |
tree | 80a192ca78759861a26290857672fdf83d0e1e95 /ham | |
parent | c42c60cd26fa8ebd178a44b2913212b69550933b (diff) | |
download | pkgsrc-a51d2aa4f13d7629e1c4b86fd3b4562977e1f948.tar.gz |
plist shared library handling (shlib-dylib.awk, at least) only allows
numbers in shared library versions. Instead of "0.0git", use
PKGREVISION as the library patchlevel.
Diffstat (limited to 'ham')
-rw-r--r-- | ham/libmirisdr/Makefile | 10 | ||||
-rw-r--r-- | ham/libmirisdr/PLIST | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/ham/libmirisdr/Makefile b/ham/libmirisdr/Makefile index c99a880bcde..315f0712924 100644 --- a/ham/libmirisdr/Makefile +++ b/ham/libmirisdr/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2015/01/26 06:56:43 dbj Exp $ +# $NetBSD: Makefile,v 1.3 2015/01/26 06:58:56 dbj Exp $ PKGNAME= libmirisdr-0.1 +PKGREVISION= 1 DISTNAME= libmirisdr-${VERSION} VERSION= 59ba372 CATEGORIES= ham @@ -18,5 +19,12 @@ USE_CMAKE= yes # Suppress warning for developer CMAKE_ARGS+= -Wno-dev +PLIST_SUBST+= PKGREVISION=${PKGREVISION} +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},' + .include "../../devel/libusb1/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/ham/libmirisdr/PLIST b/ham/libmirisdr/PLIST index 197208dc814..5202ec6e997 100644 --- a/ham/libmirisdr/PLIST +++ b/ham/libmirisdr/PLIST @@ -1,9 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1 2014/10/13 13:02:26 mef Exp $ +@comment $NetBSD: PLIST,v 1.2 2015/01/26 06:58:56 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.0git +lib/libmirisdr.so.0.0.${PKGREVISION} lib/pkgconfig/libmirisdr.pc |