summaryrefslogtreecommitdiffstats
path: root/textproc/cost
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-11-21 14:12:01 +0000
committerarved <arved@FreeBSD.org>2003-11-21 14:12:01 +0000
commit32c30434d21efdcb8402e7b26bcbf85155e53dca (patch)
tree2f1406f95be40be38a7a9c9d5b997d75048d297d /textproc/cost
parent958cc232c7b684f77e34fdda916511b6217eccae (diff)
downloadFreeBSD-ports-32c30434d21efdcb8402e7b26bcbf85155e53dca.zip
FreeBSD-ports-32c30434d21efdcb8402e7b26bcbf85155e53dca.tar.gz
HAS_CONFIGURE -> GNU_CONFIGURE
add -fPIC to CFLAGS to hopefully fix build on AMD64
Diffstat (limited to 'textproc/cost')
-rw-r--r--textproc/cost/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/cost/Makefile b/textproc/cost/Makefile
index 8a7856f..5780d12 100644
--- a/textproc/cost/Makefile
+++ b/textproc/cost/Makefile
@@ -18,9 +18,10 @@ LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/lang/tcl82:patch
WRKSRC= ${WRKDIR}/${DISTNAME}/src
-HAS_CONFIGURE= YES
-CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.2 \
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --with-tcl=${PREFIX}/lib/tcl8.2 \
--with-docdir=${PREFIX}/share/doc/cost --with-charmaps
+CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC"
do-install:
${MKDIR} ${PREFIX}/lib/cost2.2
OpenPOWER on IntegriCloud