diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-20 01:49:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-20 01:49:10 +0000 |
commit | 89205d56891bafb004765ff37bcef943f5840fc1 (patch) | |
tree | 6d9973ef395a650f78421966382fd1c6d894b2f4 /cad/ng-spice | |
parent | 8fe21bad136539486746a679600af49963ee24aa (diff) | |
download | pkgsrc-89205d56891bafb004765ff37bcef943f5840fc1.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')
-rw-r--r-- | cad/ng-spice/Makefile | 20 |
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" |