summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2006-10-07 20:34:07 +0000
committergdt <gdt@pkgsrc.org>2006-10-07 20:34:07 +0000
commit56fc3b163e044a91e20de891d27d0e3a9896ee66 (patch)
treeca2cd2048120a9578f4e7a01aa51d17a727f3aa4
parent92b5bffbd1c31fe044f5c99462e3beb2605e3399 (diff)
downloadpkgsrc-56fc3b163e044a91e20de891d27d0e3a9896ee66.tar.gz
Apply patch from pkg/33665, setting LTDL_LIBRARY_PATH, but do so only
on Darwin where the failure happened, because I can't figure out why this should be necessary (guile should be looking there anyway).
-rw-r--r--devel/g-wrap1/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/g-wrap1/Makefile b/devel/g-wrap1/Makefile
index a03842e3fb8..fe3865decd0 100644
--- a/devel/g-wrap1/Makefile
+++ b/devel/g-wrap1/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2006/03/30 03:44:42 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2006/10/07 20:34:07 gdt Exp $
DISTNAME= g-wrap-1.3.4
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= devel
MASTER_SITES= ftp://ftp.gnucash.org/pub/g-wrap/source/
@@ -11,7 +11,6 @@ COMMENT= Tool for importing types, functions, and constants into guile 1.4
DEPENDS+= guile-slib>=2.4.2nb6:../../devel/guile-slib
-
GNU_CONFIGURE= YES
USE_TOOLS+= gmake makeinfo
USE_LIBTOOL= YES
@@ -20,6 +19,13 @@ INFO_FILES= # PLIST
CONFIGURE_ARGS+= --with-modules-dir=${PREFIX}/share/guile
CONFIGURE_ENV+= ac_cv_path_RSCHEME="nope"
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+# PR 33665 says this is needed on Darwin. Perhaps this should be
+# fixed in guile itself.
+MAKE_ENV+= LTDL_LIBRARY_PATH=${LOCALBASE}/lib
+.endif
+
.include "../../devel/glib/buildlink3.mk"
.include "../../lang/guile/buildlink3.mk"
.include "../../devel/guile-gtk/buildlink3.mk"