diff options
author | tv <tv@pkgsrc.org> | 2004-11-05 17:38:51 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-11-05 17:38:51 +0000 |
commit | 8ba62ddd77bb1605bd8f80ca6824a39a2dbc67f4 (patch) | |
tree | e93c8e227336bd19b2723a509f9abb75e2d11459 /pkgtools/url2pkg | |
parent | 60b4f52ab5d90ef663dd57d480883a4ee9d595ab (diff) | |
download | pkgsrc-8ba62ddd77bb1605bd8f80ca6824a39a2dbc67f4.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/url2pkg')
-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 |