aboutsummaryrefslogtreecommitdiffstats
path: root/devel/regexxer
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-08-24 06:03:24 +0800
committermarcus <marcus@FreeBSD.org>2004-08-24 06:03:24 +0800
commit7f78577c62a2f8b2f388a993e36e990afe4cfa7f (patch)
tree14a52ac1ec47425ffd9e176a428dce46f4feaa3f /devel/regexxer
parente16e65c7de4efc6778c9f7eab4f42ff7d80f2d19 (diff)
downloadfreebsd-ports-gnome-7f78577c62a2f8b2f388a993e36e990afe4cfa7f.tar.gz
freebsd-ports-gnome-7f78577c62a2f8b2f388a993e36e990afe4cfa7f.tar.zst
freebsd-ports-gnome-7f78577c62a2f8b2f388a993e36e990afe4cfa7f.zip
Fix build when pcre has been installed without UTF-8 support.
Submitted by: maintainer
Diffstat (limited to 'devel/regexxer')
-rw-r--r--devel/regexxer/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/devel/regexxer/Makefile b/devel/regexxer/Makefile
index d2af28e0dfa5..616482e8832d 100644
--- a/devel/regexxer/Makefile
+++ b/devel/regexxer/Makefile
@@ -30,15 +30,13 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= gnomehack gnomeprefix gnometarget intltool intlhack
CONFIGURE_ARGS= PCRE_CONFIG="${PCRE_WRKDIR}/.install/bin/pcre-config"
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= CPPFLAGS="-I${PCRE_WRKDIR}/.install/include -I${LOCALBASE}/include" \
+ LDFLAGS="-L${PCRE_WRKDIR}/.install/lib -L${LOCALBASE}/lib"
PCRE_NAME= pcre
PCRE_VERSION= 4.5
PCRE_WRKDIR= ${WRKDIR}/${PCRE_NAME}-${PCRE_VERSION}
-post-patch:
- @${REINPLACE_CMD} -E 's,(\$$\(PKG_(CFLAGS|LIBS)\)) (\$$\(PCRE_(CFLAGS|LIBS)\)),\3 \1,' ${WRKSRC}/src/Makefile.in
-
pre-configure:
@(cd ${PCRE_WRKDIR} && \
${ECHO_CMD} "Configuring PCRE... " && \