summaryrefslogtreecommitdiff
path: root/devel/libusb
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-06-23 16:59:16 +0000
committerjperkin <jperkin@pkgsrc.org>2013-06-23 16:59:16 +0000
commit1c18a4de6d70a82d2cc0c2d32f90fe867af67acc (patch)
tree6a08a4503e881859eaf553bb64bcfcd6a936f983 /devel/libusb
parentc1d8ef332f3afdca8bb6176e14d996deb27619b4 (diff)
downloadpkgsrc-1c18a4de6d70a82d2cc0c2d32f90fe867af67acc.tar.gz
Use PKGVERSION_NOREV. Prodded by joerg.
Diffstat (limited to 'devel/libusb')
-rw-r--r--devel/libusb/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/libusb/Makefile b/devel/libusb/Makefile
index 4ca19b0d755..24effa998d6 100644
--- a/devel/libusb/Makefile
+++ b/devel/libusb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2013/06/22 19:49:11 jperkin Exp $
+# $NetBSD: Makefile,v 1.35 2013/06/23 16:59:16 jperkin Exp $
DISTNAME= libusb-0.1.12
PKGREVISION= 3
@@ -37,8 +37,8 @@ SED_TRANSFORMS+= -e 's,u_int16_t,uint16_t,g'
SED_TRANSFORMS+= -e 's,u_int32_t,uint32_t,g'
SED_TRANSFORMS+= -e "s,@prefix@,${PREFIX},g"
SED_TRANSFORMS+= -e "s,@exec_prefix@,${PREFIX},g"
-SED_TRANSFORMS+= -e "s,@LIBUSB_VERSION@,${PKGVERSION:C/nb[0-9]*$//},g"
-SED_TRANSFORMS+= -e "s,@VERSION@,${PKGVERSION:C/nb[0-9]*$//},g"
+SED_TRANSFORMS+= -e "s,@LIBUSB_VERSION@,${PKGVERSION_NOREV},g"
+SED_TRANSFORMS+= -e "s,@VERSION@,${PKGVERSION_NOREV},g"
SED_TRANSFORMS+= -e "s,@includedir@,${PREFIX}/include,g"
SED_TRANSFORMS+= -e "s,@libdir@,${PREFIX}/lib,g"
SED_TRANSFORMS+= -e "s,@OSLIBS@,,g"