summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjmc <jmc>2003-05-20 04:00:16 +0000
committerjmc <jmc>2003-05-20 04:00:16 +0000
commitfab0d7c8ce44250ab18dc17645d4c06b214ec41f (patch)
tree2505dffa69cafef729dd7e83424e0bcee1848857 /devel
parent2212c060e31fca897f5baf642c2c1bace0b8526b (diff)
downloadpkgsrc-fab0d7c8ce44250ab18dc17645d4c06b214ec41f.tar.gz
The pkgconfig file has X libraries added during configure so reprocess it
after configure to make sure the right RPATH's are picked up for X. Showed up during graphics/dia's build where no other direct X libs are referenced.
Diffstat (limited to 'devel')
-rw-r--r--devel/libgnomeui/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/libgnomeui/Makefile b/devel/libgnomeui/Makefile
index 5d558dd1f8f..80e2769a168 100644
--- a/devel/libgnomeui/Makefile
+++ b/devel/libgnomeui/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/05/02 11:54:36 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2003/05/20 04:00:16 jmc Exp $
#
DISTNAME= libgnomeui-2.2.0.1
@@ -26,6 +26,15 @@ CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/html
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+PKGCONFIG_BASE= ${WRKSRC}/libgnomeui/libgnomeui-2.0.pc
+PKGCONFIG_OVERRIDE= ${PKGCONFIG_BASE}.in
+
+# Needed because part of the pc files doesn't get filled in till after
+# configure does it's pass
+
+post-configure:
+ ${SED} ${PKGCONFIG_OVERRIDE_SED} < ${PKGCONFIG_BASE} > ${PKGCONFIG_BASE}.tmp
+ ${MV} ${PKGCONFIG_BASE}.tmp ${PKGCONFIG_BASE}
.include "../../audio/esound/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"