pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel * convert manual dependency of bison to USE_TOOLS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e460ba7f6be1
branches:  trunk
changeset: 553790:e460ba7f6be1
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Jan 30 08:18:45 2009 +0000

description:
* 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.

diffstat:

 devel/ptlib/Makefile |  10 +++++-----
 devel/pwlib/Makefile |   6 ++----
 2 files changed, 7 insertions(+), 9 deletions(-)

diffs (54 lines):

diff -r cd7fb50c9e4b -r e460ba7f6be1 devel/ptlib/Makefile
--- a/devel/ptlib/Makefile      Fri Jan 30 06:22:44 2009 +0000
+++ b/devel/ptlib/Makefile      Fri Jan 30 08:18:45 2009 +0000
@@ -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 @@
 HOMEPAGE=      http://www.ekiga.net/
 COMMENT=       Portable Windows Libary
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFLICTS+=    pwlib-[0-9]*
 
-BUILD_DEPENDS+=                bison-[0-9]*:../../devel/bison
-
-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 @@
 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 -r cd7fb50c9e4b -r e460ba7f6be1 devel/pwlib/Makefile
--- a/devel/pwlib/Makefile      Fri Jan 30 06:22:44 2009 +0000
+++ b/devel/pwlib/Makefile      Fri Jan 30 08:18:45 2009 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index