summaryrefslogtreecommitdiff
path: root/cad/ng-spice/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-20 01:49:10 +0000
committerjlam <jlam>2001-06-20 01:49:10 +0000
commit94a7877c4fcb73587ee4f6310f8521660e2900e5 (patch)
tree6d9973ef395a650f78421966382fd1c6d894b2f4 /cad/ng-spice/Makefile
parent1c6a10dbc70e0f2f0f79e5f2f1f4c90022fcd463 (diff)
downloadpkgsrc-94a7877c4fcb73587ee4f6310f8521660e2900e5.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. Set
USE_X11 instead of explicitly adding ${X11BASE}/lib to the LDFLAGS.
Diffstat (limited to 'cad/ng-spice/Makefile')
-rw-r--r--cad/ng-spice/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/cad/ng-spice/Makefile b/cad/ng-spice/Makefile
index 072e327cbb4..e94f264591b 100644
--- a/cad/ng-spice/Makefile
+++ b/cad/ng-spice/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/06/11 06:34:20 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2001/06/20 01:49:10 jlam Exp $
#
DISTNAME= ng-spice-rework-13
@@ -10,20 +10,18 @@ MAINTAINER= dmcmahill@netbsd.org
HOMEPAGE= http://ieee.ing.uniroma1.it/ngspice/
COMMENT= Next generation circuit simulation program
-.if !exists(/usr/include/getopt.h)
-DEPENDS+= libgetopt-*:../../devel/libgetopt
-LDFLAGS+= -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -lgetopt
-CPPFLAGS+= -I${LOCALBASE}/include
-.endif
+CONFLICTS+= spice-*
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-USE_CURSES= YES
-REPLACE_NCURSES= configure configure.in
-GNU_CONFIGURE= yes
+
+GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-debug
-LDFLAGS+= -Wl,-R${X11BASE}/lib -L${X11BASE}/lib
-CONFLICTS+= spice-*
+USE_X11= YES
+#USE_CURSES= YES
+USE_BUILDLINK_ONLY= YES
+.include "../../devel/libgetopt/buildlink.mk"
+.include "../../devel/ncurses/buildlink.mk"
.include "../../mk/bsd.pkg.mk"