aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-11-17 00:12:24 +0800
committermiwi <miwi@FreeBSD.org>2011-11-17 00:12:24 +0800
commit55a3d20df7937a7503c84c669cdcc4593c10152b (patch)
tree532dfc0c4f2f1cd0328260458de283e332cf2cda /lang
parentbc3f7bc99628c8a2a5be20f6d0bc65695d6743f3 (diff)
downloadfreebsd-ports-gnome-55a3d20df7937a7503c84c669cdcc4593c10152b.tar.gz
freebsd-ports-gnome-55a3d20df7937a7503c84c669cdcc4593c10152b.tar.zst
freebsd-ports-gnome-55a3d20df7937a7503c84c669cdcc4593c10152b.zip
- Unbreak build
PR: 162535 Submitted by: Jan Beich <jbeich@tormail.net> Feature safe: yes
Diffstat (limited to 'lang')
-rw-r--r--lang/dice/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/dice/Makefile b/lang/dice/Makefile
index c01ecf4126c7..0f149b54fc89 100644
--- a/lang/dice/Makefile
+++ b/lang/dice/Makefile
@@ -27,9 +27,14 @@ post-patch:
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} \
${REINPLACE_CMD} -e 's@__aligned@dice_aligned@g'
+ @${REINPLACE_CMD} -e 's/gcc/$$(CC)/' \
+ -e '/^CFLAGS/{s/=/+=/;s/-O2//;}' \
+ ${WRKSRC}/suplib/Makefile \
+ ${WRKSRC}/src/*/Makefile
+
do-build:
- cd ${WRKSRC}/suplib && ${MAKE} && ${MAKE} install
- cd ${WRKSRC}/src && ${MAKE} && ${MAKE} install
+ cd ${WRKSRC}/suplib && ${MAKE} && ${MAKE_ENV} ${MAKE} install
+ cd ${WRKSRC}/src && ${MAKE} && ${MAKE_ENV} ${MAKE} install
do-install:
@${RM} ${WRKSRC}/doc/loadabs.c.bak