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:
parent
4b5db6201a
commit
f977fa03bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71083
@ -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
|
||||
|
16
net/mars_nwe/files/patch-ac
Normal file
16
net/mars_nwe/files/patch-ac
Normal 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
|
Loading…
Reference in New Issue
Block a user