diff options
author | jlam <jlam> | 2001-10-03 20:56:40 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-10-03 20:56:40 +0000 |
commit | 2e51be22abf513f3fde4fcd8059c241d89c82e5e (patch) | |
tree | 6ea8cf3bb761f4715c28ac12c51846bc482df7b7 /x11/wxGTK | |
parent | fb49692d888d5067424800fff566eeb9b8456603 (diff) | |
download | pkgsrc-2e51be22abf513f3fde4fcd8059c241d89c82e5e.tar.gz |
Substitute the real config script for the config wrapper script in
installed files. We don't want buildlink references to escape into the
install directory.
Diffstat (limited to 'x11/wxGTK')
-rw-r--r-- | x11/wxGTK/buildlink.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/wxGTK/buildlink.mk b/x11/wxGTK/buildlink.mk index c6a063451d2..57b8f4cbc26 100644 --- a/x11/wxGTK/buildlink.mk +++ b/x11/wxGTK/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.8 2001/08/17 21:14:18 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.9 2001/10/03 20:56:55 jlam Exp $ # # This Makefile fragment is included by packages that use wxGTK. # @@ -46,8 +46,13 @@ BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.wxGTK} BUILDLINK_CONFIG.wxGTK-1= ${BUILDLINK_PREFIX.wxGTK}/bin/wx-config BUILDLINK_CONFIG.wxGTK-2= ${BUILDLINK_PREFIX.wxGTK}/bin/wxgtk-config +REPLACE_BUILDLINK_SED+= \ + -e "s|${BUILDLINK_CONFIG_WRAPPER.wxGTK-1}|${BUILDLINK_CONFIG.wxGTK-1}|g" + BUILDLINK_CONFIG_WRAPPER.wxGTK-1= ${BUILDLINK_DIR}/bin/wx-config BUILDLINK_CONFIG_WRAPPER.wxGTK-2= ${BUILDLINK_DIR}/bin/wxgtk-config +REPLACE_BUILDLINK_SED+= \ + -e "s|${BUILDLINK_CONFIG_WRAPPER.wxGTK-2}|${BUILDLINK_CONFIG.wxGTK-2}|g" .if defined(USE_CONFIG_WRAPPER) WX_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.wxGTK-1} |