aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2004-07-07 21:33:48 +0800
committerfjoe <fjoe@FreeBSD.org>2004-07-07 21:33:48 +0800
commit4eeb18e0811248f687eb9466efcd4556949f136b (patch)
treeaed9251fae45edb798603e76064d112bef4a94bd /x11-toolkits
parenta45102c695d15727923db9ac6d5eba59f97f0983 (diff)
downloadfreebsd-ports-gnome-4eeb18e0811248f687eb9466efcd4556949f136b.tar.gz
freebsd-ports-gnome-4eeb18e0811248f687eb9466efcd4556949f136b.tar.zst
freebsd-ports-gnome-4eeb18e0811248f687eb9466efcd4556949f136b.zip
Patch Makefile.in in pre-configure instead of post-patch:
patching requires wxgtk2-2.5-config which is installed via BUILD_DEPENDS and can be missing when post-patch stage is run. Reported by: bento (kris)
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/wxgtk2-devel/Makefile2
-rw-r--r--x11-toolkits/wxgtk26/Makefile2
-rw-r--r--x11-toolkits/wxgtk28/Makefile2
-rw-r--r--x11-toolkits/wxgtk29/Makefile2
4 files changed, 4 insertions, 4 deletions
diff --git a/x11-toolkits/wxgtk2-devel/Makefile b/x11-toolkits/wxgtk2-devel/Makefile
index 6bb41471d0fd..ef76001c322e 100644
--- a/x11-toolkits/wxgtk2-devel/Makefile
+++ b/x11-toolkits/wxgtk2-devel/Makefile
@@ -78,7 +78,7 @@ LIB_DEPENDS+= wx_baseu-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-devel
LIB_DEPENDS+= wx_base-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-devel
.endif
-post-patch:
+pre-configure:
@${FIND} ${WRKSRC}/contrib -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
-e "s,@CXXFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cxxflags`," \
-e "s,@CFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cflags`," \
diff --git a/x11-toolkits/wxgtk26/Makefile b/x11-toolkits/wxgtk26/Makefile
index 6bb41471d0fd..ef76001c322e 100644
--- a/x11-toolkits/wxgtk26/Makefile
+++ b/x11-toolkits/wxgtk26/Makefile
@@ -78,7 +78,7 @@ LIB_DEPENDS+= wx_baseu-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-devel
LIB_DEPENDS+= wx_base-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-devel
.endif
-post-patch:
+pre-configure:
@${FIND} ${WRKSRC}/contrib -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
-e "s,@CXXFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cxxflags`," \
-e "s,@CFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cflags`," \
diff --git a/x11-toolkits/wxgtk28/Makefile b/x11-toolkits/wxgtk28/Makefile
index 6bb41471d0fd..ef76001c322e 100644
--- a/x11-toolkits/wxgtk28/Makefile
+++ b/x11-toolkits/wxgtk28/Makefile
@@ -78,7 +78,7 @@ LIB_DEPENDS+= wx_baseu-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-devel
LIB_DEPENDS+= wx_base-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-devel
.endif
-post-patch:
+pre-configure:
@${FIND} ${WRKSRC}/contrib -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
-e "s,@CXXFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cxxflags`," \
-e "s,@CFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cflags`," \
diff --git a/x11-toolkits/wxgtk29/Makefile b/x11-toolkits/wxgtk29/Makefile
index 6bb41471d0fd..ef76001c322e 100644
--- a/x11-toolkits/wxgtk29/Makefile
+++ b/x11-toolkits/wxgtk29/Makefile
@@ -78,7 +78,7 @@ LIB_DEPENDS+= wx_baseu-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-devel
LIB_DEPENDS+= wx_base-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-devel
.endif
-post-patch:
+pre-configure:
@${FIND} ${WRKSRC}/contrib -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
-e "s,@CXXFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cxxflags`," \
-e "s,@CFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cflags`," \