summaryrefslogtreecommitdiffstats
path: root/net/mars_nwe
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-11-25 17:17:53 +0000
committernaddy <naddy@FreeBSD.org>2002-11-25 17:17:53 +0000
commit10172c3d6316b74a49957b692dc9f50cd0ea1387 (patch)
treeb9772074ef977acaa8a279e7b97f430e28082c2d /net/mars_nwe
parentf34c3c9e7c755fafe55a8ac1a9320b5c54e1cd83 (diff)
downloadFreeBSD-ports-10172c3d6316b74a49957b692dc9f50cd0ea1387.zip
FreeBSD-ports-10172c3d6316b74a49957b692dc9f50cd0ea1387.tar.gz
Fix build on -CURRENT and honor CC.
Problem reported by: Gerrit Kuehn <gerrit@pmp.uni-hannover.de>
Diffstat (limited to 'net/mars_nwe')
-rw-r--r--net/mars_nwe/Makefile4
-rw-r--r--net/mars_nwe/files/patch-ac16
2 files changed, 17 insertions, 3 deletions
diff --git a/net/mars_nwe/Makefile b/net/mars_nwe/Makefile
index 0aa8aed..2045611 100644
--- a/net/mars_nwe/Makefile
+++ b/net/mars_nwe/Makefile
@@ -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
diff --git a/net/mars_nwe/files/patch-ac b/net/mars_nwe/files/patch-ac
new file mode 100644
index 0000000..4bfe2cd
--- /dev/null
+++ b/net/mars_nwe/files/patch-ac
@@ -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
OpenPOWER on IntegriCloud