summaryrefslogtreecommitdiff
path: root/devel/pth
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-08 02:11:35 +0000
committerwiz <wiz@pkgsrc.org>2001-01-08 02:11:35 +0000
commite9cd77ffca32b592f4f9e7f7fb59f9576a4a4c21 (patch)
treea26fd3d36338260e3d9dbecce8b2a59dafd26995 /devel/pth
parentaf1a689d0aca0760ec45407f1e87eccab6a807ef (diff)
downloadpkgsrc-e9cd77ffca32b592f4f9e7f7fb59f9576a4a4c21.tar.gz
Make library majors/minors in PLIST updatable from Makefile again.
Diffstat (limited to 'devel/pth')
-rw-r--r--devel/pth/Makefile10
-rw-r--r--devel/pth/pkg/PLIST10
2 files changed, 11 insertions, 9 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index 3a44490390d..63dcb0e59f4 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2000/10/06 09:03:17 jlam Exp $
+# $NetBSD: Makefile,v 1.32 2001/01/08 02:11:35 wiz Exp $
#
DISTNAME= pth-1.3.7
@@ -9,14 +9,16 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/pth/pth.html
CONFLICTS= pth-current-*
-# for PLIST
-VERS= 13.27
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-pthread
-PLIST_SUBST+= VERS=${VERS}
+
+# for PLIST
+PTH_MAJOR= 13
+PTH_MINOR= 27
+PLIST_SUBST+= PTH_MAJOR=${PTH_MAJOR} PTH_MINOR=${PTH_MINOR}
test:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} test
diff --git a/devel/pth/pkg/PLIST b/devel/pth/pkg/PLIST
index d6b321781ec..cebfe90389e 100644
--- a/devel/pth/pkg/PLIST
+++ b/devel/pth/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.19 2001/01/04 15:10:32 agc Exp $
+@comment $NetBSD: PLIST,v 1.20 2001/01/08 02:11:35 wiz Exp $
bin/pth-config
bin/pthread-config
include/pth.h
@@ -6,13 +6,13 @@ include/pthread.h
lib/libpth.a
lib/libpth.la
lib/libpth.so
-lib/libpth.so.13
-lib/libpth.so.13.27
+lib/libpth.so.${PTH_MAJOR}
+lib/libpth.so.${PTH_MAJOR}.${PTH_MINOR}
lib/libpthread.a
lib/libpthread.la
lib/libpthread.so
-lib/libpthread.so.13
-lib/libpthread.so.13.27
+lib/libpthread.so.${PTH_MAJOR}
+lib/libpthread.so.${PTH_MAJOR}.${PTH_MINOR}
man/man1/pth-config.1
man/man1/pthread-config.1
man/man3/pth.3