summaryrefslogtreecommitdiff
path: root/devel/libgnomeui
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-05-20 04:00:16 +0000
committerjmc <jmc@pkgsrc.org>2003-05-20 04:00:16 +0000
commite3d39266ce57aa7b53847fc2d35d056165153242 (patch)
tree2505dffa69cafef729dd7e83424e0bcee1848857 /devel/libgnomeui
parent7cc64bcb0b2d48e2cc443deab2dbb8378d80d4a9 (diff)
downloadpkgsrc-e3d39266ce57aa7b53847fc2d35d056165153242.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/libgnomeui')
-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"