summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2000-08-16 05:09:30 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2000-08-16 05:09:30 +0000
commitb9b57873b45c53f72b816e2be1d83a303c5718bb (patch)
tree4c711efbd57352e9a73fca0cdce847e161df7124 /cad
parent18ec8d39f9fa2f38cded459caab911411d936147 (diff)
downloadpkgsrc-b9b57873b45c53f72b816e2be1d83a303c5718bb.tar.gz
- make sure that the local includes are always searched first to avoid picking
up some possible conflicting headers. - while I'm here, make me the maintainer (instead of 'packages')
Diffstat (limited to 'cad')
-rw-r--r--cad/spice/Makefile6
-rw-r--r--cad/spice/files/NetBSD6
2 files changed, 6 insertions, 6 deletions
diff --git a/cad/spice/Makefile b/cad/spice/Makefile
index f5d90643e2e..6185916300a 100644
--- a/cad/spice/Makefile
+++ b/cad/spice/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2000/08/10 22:39:24 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2000/08/16 05:09:30 dmcmahill Exp $
# FreeBSD Id: Makefile,v 1.10 1998/06/08 09:21:37 tg Exp
#
@@ -8,7 +8,7 @@ CATEGORIES= cad
MASTER_SITES= ftp://ic.eecs.berkeley.edu/pub/Spice3/
EXTRACT_SUFX= .tar.Z
-MAINTAINER= packages@netbsd.org
+MAINTAINER= dmcmahill@netbsd.org
HOMEPAGE= http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE/
DEPENDS+= readline>=4.0:../../devel/readline
@@ -24,7 +24,7 @@ NO_WRKSUBDIR= yes
do-configure:
${RM} -f ${WRKSRC}/makefile
- ${SED} 's@$${X11BASE}@${X11PREFIX}@' <${FILESDIR}/NetBSD \
+ ${SED} 's;@WRKSRC@;${WRKSRC};g' <${FILESDIR}/NetBSD \
>${WRKSRC}/conf/NetBSD
${MV} ${WRKSRC}/conf/defaults ${WRKSRC}/conf/defaults.BAK
${SED} \
diff --git a/cad/spice/files/NetBSD b/cad/spice/files/NetBSD
index ecc4224a80d..f3d10144b97 100644
--- a/cad/spice/files/NetBSD
+++ b/cad/spice/files/NetBSD
@@ -1,12 +1,12 @@
# FreeBSD/NetBSD config exception file
-# $NetBSD: NetBSD,v 1.3 1999/10/01 17:05:15 dmcmahill Exp $
+# $NetBSD: NetBSD,v 1.4 2000/08/16 05:09:31 dmcmahill Exp $
MAKE = /usr/bin/make
INTERFACE_OPTS = -DWANT_X11
CC = gcc
-CC_OPT = -O2 -pipe -I${LOCALBASE}/include
-CC_OPT_SAFE = -O2 -fno-strength-reduce -pipe -I${LOCALBASE}/include
+CC_OPT = -O2 -pipe -I@WRKSRC@/src/include -I${LOCALBASE}/include
+CC_OPT_SAFE = -O2 -fno-strength-reduce -pipe -I@WRKSRC@/src/include -I${LOCALBASE}/include
LDFLAGS = -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lreadline -lm -ltermcap
ASM_HACK = < /dev/null
SYS_CFLAGS = -Dbsd