- respect CC/CFLAGS

PR:		162539
Submitted by:	Jan Beich <jbeich@tormail.net>
Approved by:	maintainer
Feature safe:	yes
This commit is contained in:
Martin Wilke 2011-11-24 16:05:13 +00:00
parent b0c2e70551
commit 71327572d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286376

View file

@ -22,6 +22,12 @@ MAKEFILE= makefile
MAN1= pbasic.1
PLIST_FILES= bin/pbasic
post-patch: .SILENT
${REINPLACE_CMD} -e '/^CC/s/=/?=/' \
-e '/^CFLAGS/{s/=/+=/;s/-O//;}' \
${WRKSRC}/freebsd/makefile
${ECHO_CMD} '.PHONY: $$(SYSTEMS)' >>${WRKSRC}/makefile
do-configure:
-cd ${WRKSRC} ; ${RM} -rf termio m68000 msdos vax pyramid ns32000 \
pdp11 cursor/cursor.dos cursor/cursor.ukc