aboutsummaryrefslogtreecommitdiff
path: root/textproc/cost
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-11-21 14:12:01 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-11-21 14:12:01 +0000
commitac83248edf7080ef6e25626f70180d9ffa319de9 (patch)
tree3f282ccb4f3c1c4704d64def3afc8ceffd0b7203 /textproc/cost
parent2b1fd9e6fe262702c09275213f5805fea5c88f85 (diff)
downloadports-ac83248edf7080ef6e25626f70180d9ffa319de9.tar.gz
ports-ac83248edf7080ef6e25626f70180d9ffa319de9.zip
HAS_CONFIGURE -> GNU_CONFIGURE
add -fPIC to CFLAGS to hopefully fix build on AMD64
Notes
Notes: svn path=/head/; revision=94647
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 8a7856fd45c9..5780d129fa54 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