summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache>2009-01-30 08:18:45 +0000
committerobache <obache>2009-01-30 08:18:45 +0000
commitc56bd4feb79738a5047ce5e5d5c0376f135ebb6e (patch)
tree578995839e761b0ecd63fc2a05a1bad0e7d80677
parente2b31f7f9c2345bd1150d508d48e3d191caf2847 (diff)
downloadpkgsrc-c56bd4feb79738a5047ce5e5d5c0376f135ebb6e.tar.gz
* convert manual dependency of bison to USE_TOOLS.
* requirement of tar is came from ancient custom do-extract target, removed. * add DESTDIR support to ptlib.
-rw-r--r--devel/ptlib/Makefile10
-rw-r--r--devel/pwlib/Makefile6
2 files changed, 7 insertions, 9 deletions
diff --git a/devel/ptlib/Makefile b/devel/ptlib/Makefile
index 591f2d1d63e..4365f6f409d 100644
--- a/devel/ptlib/Makefile
+++ b/devel/ptlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2009/01/13 02:19:10 jmcneill Exp $
+# $NetBSD: Makefile,v 1.6 2009/01/30 08:18:45 obache Exp $
DISTNAME= ptlib-2.4.4
CATEGORIES= devel
@@ -9,11 +9,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ekiga.net/
COMMENT= Portable Windows Libary
-CONFLICTS+= pwlib-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
-BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+CONFLICTS+= pwlib-[0-9]*
-USE_TOOLS+= gmake tar pkg-config
+USE_TOOLS+= bison gmake pkg-config
BUILD_TARGET= optshared
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
@@ -34,7 +34,7 @@ CONFIGURE_ARGS+= --disable-dc
PTHREAD_OPTS+= require
post-install:
- ${INSTALL_DATA} ${WRKSRC}/version.h ${PREFIX}/share/ptlib
+ ${INSTALL_DATA} ${WRKSRC}/version.h ${DESTDIR}${PREFIX}/share/ptlib
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
diff --git a/devel/pwlib/Makefile b/devel/pwlib/Makefile
index ebe79c94e7c..b387e61c294 100644
--- a/devel/pwlib/Makefile
+++ b/devel/pwlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2008/07/13 14:38:41 tonnerre Exp $
+# $NetBSD: Makefile,v 1.60 2009/01/30 08:18:45 obache Exp $
DISTNAME= pwlib-v1_8_3-src
PKGNAME= pwlib-1.8.3
@@ -11,10 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/openh323/
COMMENT= Portable Windows Libary
-BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
-
WRKSRC= ${WRKDIR}/pwlib
-USE_TOOLS+= gmake tar
+USE_TOOLS+= bison gmake
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes