pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/ham/libmirisdr handle undefined PKGREVISION in shared ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4c0ba345f4f1
branches: trunk
changeset: 645271:4c0ba345f4f1
user: dbj <dbj%pkgsrc.org@localhost>
date: Mon Jan 26 07:05:04 2015 +0000
description:
handle undefined PKGREVISION in shared library naming
diffstat:
ham/libmirisdr/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r d5a649a41d09 -r 4c0ba345f4f1 ham/libmirisdr/Makefile
--- a/ham/libmirisdr/Makefile Mon Jan 26 07:02:19 2015 +0000
+++ b/ham/libmirisdr/Makefile Mon Jan 26 07:05:04 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2015/01/26 06:58:56 dbj Exp $
+# $NetBSD: Makefile,v 1.4 2015/01/26 07:05:04 dbj Exp $
PKGNAME= libmirisdr-0.1
PKGREVISION= 1
@@ -19,12 +19,12 @@
# Suppress warning for developer
CMAKE_ARGS+= -Wno-dev
-PLIST_SUBST+= PKGREVISION=${PKGREVISION}
+PLIST_SUBST+= PKGREVISION=${PKGREVISION: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},'
+SUBST_SED.patchlevel= -e 's,\(VERSION_INFO_PATCH_VERSION\) git,\1 ${PKGREVISION:U0},'
.include "../../devel/libusb1/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index