1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Fix build on -CURRENT and honor CC.

Problem reported by:	Gerrit Kuehn <gerrit@pmp.uni-hannover.de>
This commit is contained in:
Christian Weisgerber 2002-11-25 17:17:53 +00:00
parent 4b5db6201a
commit f977fa03bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71083
2 changed files with 17 additions and 3 deletions

View File

@ -18,14 +18,12 @@ EXTRACT_SUFX= .tgz
MAINTAINER= bp@FreeBSD.org
WRKSRC= ${WRKDIR}/mars_nwe
MAKE_ENV= CC="${CC}"
PLIST= ${WRKDIR}/PLIST.DYN
NDOCDIR= ${PREFIX}/share/doc/mars_nwe
do-build:
@(cd ${WRKSRC} && ${MAKE} all)
do-install:
@(cd ${WRKSRC} && ./mk.li install)
@${INSTALL_DATA} ${WRKSRC}/examples/nw.ini ${PREFIX}/etc/nwserv.conf.example

View File

@ -0,0 +1,16 @@
$FreeBSD$
--- examples/mk.li.orig Sat Jan 15 12:11:20 2000
+++ examples/mk.li Mon Nov 25 15:12:38 2002
@@ -97,8 +97,8 @@
freebsd)
V_VPATH=".."
OBJDIR="obj"
- CC=gcc
- CPP="gcc -E"
+ CC=${CC:-cc}
+ CPP="cpp -traditional"
if [ "x$CFLAGS" = "x" ]; then
CFLAGS="native"
fi