From 0c0fb0a5829f8b0887b1d50f59637638319e2b28 Mon Sep 17 00:00:00 2001 From: pav Date: Thu, 20 Nov 2003 09:41:17 +0000 Subject: - Fix install - Add LOCALBASE to path to allow building with gcc from ports PR: ports/58867, ports/59140 Submitted by: Fritz Heinrichmeyer DoubleF Approved by: adamw (mentor) --- cad/spice/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cad/spice/Makefile') diff --git a/cad/spice/Makefile b/cad/spice/Makefile index ad0c5a9cba68..99a952e55f8c 100644 --- a/cad/spice/Makefile +++ b/cad/spice/Makefile @@ -18,8 +18,6 @@ EXTRACT_ONLY= sp3f4.kit${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= A general-purpose circuit simulation program -BROKEN= "Does not install; will be removed after Feb 2" - USE_XLIB= yes USE_REINPLACE= yes NO_WRKSUBDIR= yes @@ -27,9 +25,13 @@ MAN1= sconvert.1 nutmeg.1 spice.1 MAN3= mfb.3 MAN5= mfbcap.5 MLINKS= spice.1 spice3.1 +MAKE_ENV+= STRIP_CMD=${STRIP_CMD} .include +post-patch: + @${REINPLACE_CMD} -e 's|/usr/ucb|${LOCALBASE}/bin|' ${WRKSRC}/util/build + post-configure: @${REINPLACE_CMD} -e 's+@CC@+${CC}+ ; s+@CFLAGS@+${CFLAGS}+ ; \ s+@X11BASE@+${X11BASE}+;' \ -- cgit