summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-08-28 21:15:09 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-08-28 21:15:09 +0000
commit8a403e2530fc8a65e3b0cb53d4408cf6a0e5831f (patch)
treeeb6e0287109fdea49ec796ebaa08475824534f86
parentwww/py-rhodecode: fix rc.d script (diff)
- Fix build
Notes
Notes: svn path=/head/; revision=325554
-rw-r--r--games/apricots/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/apricots/Makefile b/games/apricots/Makefile
index 8616d8fb4a8b..f2a527ced19d 100644
--- a/games/apricots/Makefile
+++ b/games/apricots/Makefile
@@ -39,13 +39,14 @@ USE_OPENAL= al alut
.endif
post-patch:
+ @${CP} -pP ${WRKSRC}/configure.in ${WRKSRC}/configure.in.in
.if ${PORT_OPTIONS:MOPENAL}
@${REINPLACE_CMD} -e '/^LIBS = / s|$$| -lopenal -lalut|' \
${WRKSRC}/apricots/Makefile.in
.else
@${REINPLACE_CMD} -e 's|-DAP_AUDIO_OPENAL||' ${WRKSRC}/configure
.endif
- @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure ${WRKSRC}/ac*.m4
.if ${PORT_OPTIONS:MDOCS}
post-install: