diff options
author | tv <tv> | 2004-11-05 17:38:51 +0000 |
---|---|---|
committer | tv <tv> | 2004-11-05 17:38:51 +0000 |
commit | 27a3c1358ed814b06559f911e65e99358cedb626 (patch) | |
tree | e93c8e227336bd19b2723a509f9abb75e2d11459 /pkgtools | |
parent | 01133ff7fb93f0d9d49935e1a42f43e5b4dd118b (diff) | |
download | pkgsrc-27a3c1358ed814b06559f911e65e99358cedb626.tar.gz |
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 (limited to 'pkgtools')
-rw-r--r-- | pkgtools/url2pkg/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/url2pkg/files/url2pkg | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile index 0a6a21219c5..a7bd8c6d3c7 100644 --- a/pkgtools/url2pkg/Makefile +++ b/pkgtools/url2pkg/Makefile @@ -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 --git a/pkgtools/url2pkg/files/url2pkg b/pkgtools/url2pkg/files/url2pkg index b23244241fc..097931cc6f7 100755 --- a/pkgtools/url2pkg/files/url2pkg +++ b/pkgtools/url2pkg/files/url2pkg @@ -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> @@ -191,6 +191,10 @@ echo "Fixing up Makefile." 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 |