- respect CFLAGS
- move configure fragment into Makefile
This commit is contained in:
parent
03647bc1c4
commit
f8a0ddc14b
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2000/10/22 15:41:34 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2001/02/26 11:52:17 naddy Exp $
|
||||
|
||||
DISTNAME= sp3f4.kit
|
||||
PKGNAME= spice-3f5
|
||||
@ -23,15 +23,19 @@ WRKDIST= ${WRKDIR}
|
||||
pre-patch:
|
||||
@${ECHO_MSG} "===> Applying distribution patches";
|
||||
.if defined(PATCH_DEBUG)
|
||||
@(cd ${WRKDIR}/3f4patches; \
|
||||
@cd ${WRKDIR}/3f4patches; \
|
||||
${PATCH} -d ${WRKSRC}/src/lib/fte -E -p1 < grid.patch; \
|
||||
${PATCH} -d ${WRKSRC}/src/lib/fte -E -p1 < newcoms.patch; \
|
||||
${PATCH} -d ${WRKSRC}/src/lib/sparse -E -p1 < spsmp.patch)
|
||||
${PATCH} -d ${WRKSRC}/src/lib/sparse -E -p1 < spsmp.patch
|
||||
.else
|
||||
@(cd ${WRKDIR}/3f4patches; \
|
||||
@cd ${WRKDIR}/3f4patches; \
|
||||
${PATCH} -d ${WRKSRC}/src/lib/fte -N -s -E -p1 < grid.patch; \
|
||||
${PATCH} -d ${WRKSRC}/src/lib/fte -N -s -E -p1 < newcoms.patch; \
|
||||
${PATCH} -d ${WRKSRC}/src/lib/sparse -N -s -E -p1 < spsmp.patch)
|
||||
${PATCH} -d ${WRKSRC}/src/lib/sparse -N -s -E -p1 < spsmp.patch
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
@cp ${FILESDIR}/Makefile ${WRKSRC}
|
||||
@cp ${FILESDIR}/OpenBSD ${WRKSRC}/conf
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1998/06/03 23:02:24 marc Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2001/02/26 11:52:18 naddy Exp $
|
||||
#
|
||||
|
||||
EXAMPLES= bjtnoise.cir ltra_1.cir mos6inv.cir pz2.cir \
|
||||
@ -9,7 +9,7 @@ EXAMPLES= bjtnoise.cir ltra_1.cir mos6inv.cir pz2.cir \
|
||||
mixdisto.cir process.pro resnoise.cir
|
||||
|
||||
all:
|
||||
util/build OpenBSD default
|
||||
util/build OpenBSD default CC_OPT="${CFLAGS}"
|
||||
|
||||
install:
|
||||
util/build OpenBSD install
|
||||
|
@ -1,11 +1,10 @@
|
||||
# $OpenBSD: OpenBSD,v 1.1.1.1 1998/06/03 23:02:24 marc Exp $
|
||||
# $OpenBSD: OpenBSD,v 1.2 2001/02/26 11:52:19 naddy Exp $
|
||||
#
|
||||
# Spice configuration file for OpenBSD
|
||||
|
||||
MAKE = /usr/bin/make
|
||||
DEFAULT_EDITOR = /usr/bin/vi
|
||||
X_DIR = /usr/X11R6
|
||||
CC_OPT = -O2
|
||||
LDFLAGS = -lm -ltermlib -lcompat
|
||||
SYS_CFLAGS = -Dbsd -DHAS_STDLIB
|
||||
SYS_DIR = ${DIST_DIR}/OpenBSD
|
||||
|
6
cad/spice/scripts/configure
vendored
6
cad/spice/scripts/configure
vendored
@ -1,6 +0,0 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# $OpenBSD: configure,v 1.1.1.1 1998/06/03 23:02:25 marc Exp $
|
||||
|
||||
cp -f ${FILESDIR}/Makefile ${WRKSRC}
|
||||
cp -f ${FILESDIR}/OpenBSD ${WRKSRC}/conf
|
Loading…
Reference in New Issue
Block a user