diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-28 22:39:01 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-28 22:39:01 +0000 |
commit | 6659ff481f2d0347ef99db486e8544a28206031f (patch) | |
tree | b565f4678d8496233031b5b066380acc2885972f /x11/gtk | |
parent | 7e92a3ca818ea74a4f1628c22ea2c20b047ff5d2 (diff) | |
download | pkgsrc-6659ff481f2d0347ef99db486e8544a28206031f.tar.gz |
Use BUILDLINK_CONFIG_WRAPPER_SED.gtk to replace:
${X11PREFIX}/include/gtk-1.2 -> ${BUILDLINK_DIR}/include/gtk-1.2
for some buildlink protection for gtk packages installed in ${X11BASE}.
Only helps with the include files, though, not the libraries.
Diffstat (limited to 'x11/gtk')
-rw-r--r-- | x11/gtk/buildlink.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/gtk/buildlink.mk b/x11/gtk/buildlink.mk index 27aad4dc93e..94a3527f600 100644 --- a/x11/gtk/buildlink.mk +++ b/x11/gtk/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.2 2001/06/23 19:27:01 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.3 2001/06/28 22:39:01 jlam Exp $ # # This Makefile fragment is included by packages that use gtk. # @@ -33,10 +33,15 @@ BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.gtk} BUILDLINK_CONFIG.gtk= ${X11PREFIX}/bin/gtk-config BUILDLINK_CONFIG_WRAPPER.gtk= ${BUILDLINK_DIR}/bin/gtk-config +BUILDLINK_CONFIG_WRAPPER_SED.gtk= \ + -e "s|${X11PREFIX}/\(include/gtk-[^/]*/\)|${BUILDLINK_DIR}/\1|g" + .if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) CONFIGURE_ENV+= GTK_CONFIG="${BUILDLINK_CONFIG_WRAPPER.gtk}" .endif +REPLACE_BUILDLINK_SED+= -e "s|-I${BUILDLINK_DIR}/include/gtk-1\.2/|${X11PREFIX}/include/gtk-1.2|g" + pre-configure: ${BUILDLINK_TARGETS.gtk} gtk-buildlink: _BUILDLINK_USE gtk-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE |