- Unbreak build

PR:		162532
Submitted by:	Jan Beich <jbeich@tormail.net>
Approved by:	maintainer
Feature safe:	yes
This commit is contained in:
Martin Wilke 2011-11-16 16:11:34 +00:00
parent c4a1ebb9c1
commit b5197dcbc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285915

View File

@ -20,7 +20,12 @@ USE_LDCONFIG= yes
MAKE_ENV+= BINOWN=${BINOWN} \
BINGRP=${BINGRP}
post-patch:
post-patch: .SILENT
${REINPLACE_CMD} -e 's/cc/$$(CC)/' \
-e '/^CFLAGS/{s/=/+=/;s/-g//;s/-O//;}' \
-e '/strip alisp/d' \
-e '/install.*alisp /s/install/& ${STRIP}/' \
${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/alisp.h
.include <bsd.port.mk>