summaryrefslogtreecommitdiff
path: root/net/mars_nwe
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-11-25 17:17:53 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-11-25 17:17:53 +0000
commitf977fa03bb0936ede824459ed18e45738e0e9d3e (patch)
treec129f72b5c12f20f65c24052147f15628f9b8fa3 /net/mars_nwe
parentFix a bug introduced in 2.4.27 that caused KDE's doc building procedure (diff)
Fix build on -CURRENT and honor CC.
Problem reported by: Gerrit Kuehn <gerrit@pmp.uni-hannover.de>
Notes
Notes: svn path=/head/; revision=71083
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 0aa8aed64c0c..2045611a7ad7 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 000000000000..4bfe2cddc0e7
--- /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