aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-08-29 05:15:09 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-08-29 05:15:09 +0800
commit5ee235efb2e903a0831f5d7806189b52521ca2d5 (patch)
treeeb6e0287109fdea49ec796ebaa08475824534f86 /games
parent36b739868ebc502c7fb83f91719e628105d98e75 (diff)
downloadfreebsd-ports-gnome-5ee235efb2e903a0831f5d7806189b52521ca2d5.tar.gz
freebsd-ports-gnome-5ee235efb2e903a0831f5d7806189b52521ca2d5.tar.zst
freebsd-ports-gnome-5ee235efb2e903a0831f5d7806189b52521ca2d5.zip
- Fix build
Diffstat (limited to 'games')
-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: