summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-11-02 16:25:16 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-11-02 16:25:16 +0000
commitfa0d9a172b976c1ed404f1db04f65f3b3055808e (patch)
tree1299d7728cf6ce6732ca329e8a0c86b2a377bc93 /finance
parentJailed check_swap-hack: Forgot to add this to list of actual checks to build (diff)
- Unbreak on 4.x by USE_GCC=3.2+
- Fix libxmlparse-detection while here Approved by: maintainer timeout (2w)
Notes
Notes: svn path=/head/; revision=147034
Diffstat (limited to 'finance')
-rw-r--r--finance/ledger/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/finance/ledger/Makefile b/finance/ledger/Makefile
index 2e38620bdbb6..d9f84c348761 100644
--- a/finance/ledger/Makefile
+++ b/finance/ledger/Makefile
@@ -20,8 +20,11 @@ LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4 \
xmltok:${PORTSDIR}/www/libwww \
xmlparse:${PORTSDIR}/www/libwww
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
+USE_GCC= 3.2+
+GNU_CONFIGURE= yes
+CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/w3c-libwww
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
NO_INSTALL_MANPAGES= yes
INFO= ledger