From 94a7877c4fcb73587ee4f6310f8521660e2900e5 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 20 Jun 2001 01:49:10 +0000 Subject: Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. Set USE_X11 instead of explicitly adding ${X11BASE}/lib to the LDFLAGS. --- cad/ng-spice/Makefile | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'cad/ng-spice') 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" -- cgit v1.2.3