From e9cd77ffca32b592f4f9e7f7fb59f9576a4a4c21 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 8 Jan 2001 02:11:35 +0000 Subject: Make library majors/minors in PLIST updatable from Makefile again. --- devel/pth/Makefile | 10 ++++++---- devel/pth/pkg/PLIST | 10 +++++----- 2 files changed, 11 insertions(+), 9 deletions(-) (limited to 'devel') 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 -- cgit v1.2.3