summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-11-20 09:41:17 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-11-20 09:41:17 +0000
commit85579a27fc13608498ba94945da1e8ff45034816 (patch)
treee615002ea31b3874733efb57221a40d74030bbc6 /cad
parent- Unbreak on 5.x (diff)
- Fix install
- Add LOCALBASE to path to allow building with gcc from ports PR: ports/58867, ports/59140 Submitted by: Fritz Heinrichmeyer <Fritz.Heinrichmeyer@FernUni-Hagen.de> DoubleF <doublef@tele-kom.ru> Approved by: adamw (mentor)
Notes
Notes: svn path=/head/; revision=94445
Diffstat (limited to 'cad')
-rw-r--r--cad/spice/Makefile6
1 files changed, 4 insertions, 2 deletions
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 <bsd.port.pre.mk>
+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}+;' \