pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg 1.26: Automatically detect if a packa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb88e639db97
branches:  trunk
changeset: 482959:bb88e639db97
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Nov 05 17:38:51 2004 +0000

description:
1.26: Automatically detect if a package is using libltdl, and if so, include
../../devel/libltdl/convenience.mk to make it more cross-platform happy.

diffstat:

 pkgtools/url2pkg/Makefile      |  4 ++--
 pkgtools/url2pkg/files/url2pkg |  6 +++++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 7fa2ad7b0c11 -r bb88e639db97 pkgtools/url2pkg/Makefile
--- a/pkgtools/url2pkg/Makefile Fri Nov 05 17:31:28 2004 +0000
+++ b/pkgtools/url2pkg/Makefile Fri Nov 05 17:38:51 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2004/04/13 02:27:46 schmonz Exp $
+# $NetBSD: Makefile,v 1.32 2004/11/05 17:38:51 tv Exp $
 #
 
-DISTNAME=      url2pkg-1.25
+DISTNAME=      url2pkg-1.26
 CATEGORIES=    pkgtools sysutils
 MASTER_SITES=  # Nothing
 DISTFILES=     # Nothing
diff -r 7fa2ad7b0c11 -r bb88e639db97 pkgtools/url2pkg/files/url2pkg
--- a/pkgtools/url2pkg/files/url2pkg    Fri Nov 05 17:31:28 2004 +0000
+++ b/pkgtools/url2pkg/files/url2pkg    Fri Nov 05 17:38:51 2004 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: url2pkg,v 1.26 2004/04/11 00:48:51 rh Exp $
+# $NetBSD: url2pkg,v 1.27 2004/11/05 17:38:51 tv Exp $
 #
 # url2pkg
 # (c) 1999-2002 Hubert Feyrer <hubert%feyrer.de@localhost>
@@ -191,6 +191,10 @@
                echo '.include "../../devel/GConf2/schemas.mk"'
        fi
 
+       if [ -d $wsrcdir/libltdl ]; then
+               echo '.include "../../devel/libltdl/convenience.mk"'
+       fi
+
        echo '.include "../../mk/bsd.pkg.mk"'
 ) >Makefile.$$
 mv Makefile.$$ Makefile



Home | Main Index | Thread Index | Old Index