summaryrefslogtreecommitdiffstats
path: root/x11/libxklavier
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-01 13:52:54 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-01 13:52:54 +0800
commitfea84135ac022651cc7cb59d31690ac47f85c1b1 (patch)
treef7d69263d1587a67d5aa282a89061424c1ff5801 /x11/libxklavier
parent98cc08f744da6a642a9e24ce5b6f8994d58773b1 (diff)
downloadmarcuscom-ports-fea84135ac022651cc7cb59d31690ac47f85c1b1.tar
marcuscom-ports-fea84135ac022651cc7cb59d31690ac47f85c1b1.tar.gz
marcuscom-ports-fea84135ac022651cc7cb59d31690ac47f85c1b1.tar.bz2
marcuscom-ports-fea84135ac022651cc7cb59d31690ac47f85c1b1.tar.lz
marcuscom-ports-fea84135ac022651cc7cb59d31690ac47f85c1b1.tar.xz
marcuscom-ports-fea84135ac022651cc7cb59d31690ac47f85c1b1.tar.zst
marcuscom-ports-fea84135ac022651cc7cb59d31690ac47f85c1b1.zip
Be sure to pass our special CPPFLAGS in CONFIGURE_ENV to fix libxklavier
on FreeBSD > 4.X. The reason this isn't needed for 4.X is that USE_GETOPT_LONG handles creating CONFIGURE_ENV. Thanks to mezz from the testing, and raadradd on #freebsd-gnome for reporting. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3753 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/libxklavier')
-rw-r--r--x11/libxklavier/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/libxklavier/Makefile b/x11/libxklavier/Makefile
index f7906407e..8022a3043 100644
--- a/x11/libxklavier/Makefile
+++ b/x11/libxklavier/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libxklavier
PORTVERSION= 2.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -21,10 +22,11 @@ USE_GNOME= gnometarget gnomehack libxml2
INSTALLS_SHLIB= yes
USE_GETOPT_LONG=yes
USE_LIBTOOL_VER=15
+CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
CONFIGURE_ARGS= --disable-doxygen \
--with-xkb-base=${X11BASE}/lib/X11/xkb
-CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
-CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
PLIST_SUB= VERSION=${PORTVERSION}