diff options
author | pav <pav@FreeBSD.org> | 2003-11-20 17:41:17 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2003-11-20 17:41:17 +0800 |
commit | 0c0fb0a5829f8b0887b1d50f59637638319e2b28 (patch) | |
tree | dc54fe21c6f5227210c4439c6feea303310f1e96 | |
parent | adc4e9e7d72f9ccd087fbdd4ac28402c06642afd (diff) | |
download | freebsd-ports-gnome-0c0fb0a5829f8b0887b1d50f59637638319e2b28.tar.gz freebsd-ports-gnome-0c0fb0a5829f8b0887b1d50f59637638319e2b28.tar.zst freebsd-ports-gnome-0c0fb0a5829f8b0887b1d50f59637638319e2b28.zip |
- 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)
-rw-r--r-- | cad/spice/Makefile | 6 |
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}+;' \ |