summaryrefslogtreecommitdiff
path: root/cad/spice/files
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-02-27 17:14:28 +0000
committerjlam <jlam@pkgsrc.org>2002-02-27 17:14:28 +0000
commita199bd121be9dab2818a1ea40f92d95a51855097 (patch)
tree7aca219c647fc3eb24dc2d36d1c93b84666289d9 /cad/spice/files
parentb71fd4996c732be132253eb7de527b482aa336c3 (diff)
downloadpkgsrc-a199bd121be9dab2818a1ea40f92d95a51855097.tar.gz
* Strongly buildlinkify to handle readline wierdness.
* Don't declare a bunch of extern functions that are already declared by system headers on NetBSD. XXX This change may be incorrect for non-current systems.
Diffstat (limited to 'cad/spice/files')
-rw-r--r--cad/spice/files/NetBSD10
1 files changed, 5 insertions, 5 deletions
diff --git a/cad/spice/files/NetBSD b/cad/spice/files/NetBSD
index f3d10144b97..870b2133642 100644
--- a/cad/spice/files/NetBSD
+++ b/cad/spice/files/NetBSD
@@ -1,12 +1,12 @@
# FreeBSD/NetBSD config exception file
-# $NetBSD: NetBSD,v 1.4 2000/08/16 05:09:31 dmcmahill Exp $
+# $NetBSD: NetBSD,v 1.5 2002/02/27 17:14:28 jlam Exp $
-MAKE = /usr/bin/make
+MAKE = @MAKE_PROGRAM@
INTERFACE_OPTS = -DWANT_X11
CC = gcc
-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
+CC_OPT = -O2 -pipe -I@WRKSRC@/src/include @CFLAGS@
+CC_OPT_SAFE = -O2 -fno-strength-reduce -pipe -I@WRKSRC@/src/include @CFLAGS@
+LDFLAGS = @LDFLAGS@ -lreadline -lm -ltermcap
ASM_HACK = < /dev/null
SYS_CFLAGS = -Dbsd