diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-11-16 16:12:24 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-11-16 16:12:24 +0000 |
commit | 6ed30739370938fddae4cdc4a21cf3a85f9ae119 (patch) | |
tree | 9006dfead670e338faa6e622355a5925b2d2af03 /lang/dice | |
parent | - Unbreak build (diff) |
- Unbreak build
PR: 162535
Submitted by: Jan Beich <jbeich@tormail.net>
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=285916
Diffstat (limited to 'lang/dice')
-rw-r--r-- | lang/dice/Makefile | 9 |
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 |