aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2011-05-11 03:14:40 +0800
committerdinoex <dinoex@FreeBSD.org>2011-05-11 03:14:40 +0800
commit3443dd8e8ec6a0dfd3db71b75090267d19e94a41 (patch)
treea3a3f1e059d5e5f76f41ca6cd863dfe650de0128
parentdadf1ec6e34099aef572893a2f91b80d2ea0b5c7 (diff)
downloadfreebsd-ports-gnome-3443dd8e8ec6a0dfd3db71b75090267d19e94a41.tar.gz
freebsd-ports-gnome-3443dd8e8ec6a0dfd3db71b75090267d19e94a41.tar.zst
freebsd-ports-gnome-3443dd8e8ec6a0dfd3db71b75090267d19e94a41.zip
- honor CC
-rw-r--r--irc/iroffer-lamm/Makefile4
-rw-r--r--irc/iroffer/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/irc/iroffer-lamm/Makefile b/irc/iroffer-lamm/Makefile
index 3e57b75a02fb..0104083d7584 100644
--- a/irc/iroffer-lamm/Makefile
+++ b/irc/iroffer-lamm/Makefile
@@ -22,6 +22,10 @@ HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFLICTS= iroffer-1.* iroffer-dinoex-3.*
+post-patch:
+ ${REINPLACE_CMD} -e 's|cctype="gcc"|cctype="${CC}"|' \
+ ${WRKSRC}/Configure
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/convertxdccfile ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/iroffer ${PREFIX}/bin/
diff --git a/irc/iroffer/Makefile b/irc/iroffer/Makefile
index c6e1ffd871e6..ffc24b1840a7 100644
--- a/irc/iroffer/Makefile
+++ b/irc/iroffer/Makefile
@@ -21,6 +21,10 @@ HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFLICTS= iroffer-lamm-1.* iroffer-dinoex-3.*
+post-patch:
+ ${REINPLACE_CMD} -e 's|cctype="gcc"|cctype="${CC}"|' \
+ ${WRKSRC}/Configure
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/convertxdccfile ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/iroffer ${PREFIX}/bin/