1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- 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)
This commit is contained in:
Pav Lucistnik 2003-11-20 09:41:17 +00:00
parent 9e79d0a9c6
commit 85579a27fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94445

View File

@ -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}+;' \