summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"