summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.kde.mk3
-rw-r--r--Mk/bsd.kde4.mk3
-rw-r--r--audio/arts/Makefile3
-rw-r--r--x11/kdelibs3/Makefile3
-rw-r--r--x11/kdelibs4/Makefile3
5 files changed, 10 insertions, 5 deletions
diff --git a/Mk/bsd.kde.mk b/Mk/bsd.kde.mk
index 1b4d7a975588..ac9d2226ad37 100644
--- a/Mk/bsd.kde.mk
+++ b/Mk/bsd.kde.mk
@@ -62,7 +62,8 @@ CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
## XXX - This really belongs into bsd.port.mk
.if !defined(_NO_KDE_CONFTARGET_HACK)
CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
+ --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
.endif
.if ${USE_KDELIBS_VER} == CVS
diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk
index 1b4d7a975588..ac9d2226ad37 100644
--- a/Mk/bsd.kde4.mk
+++ b/Mk/bsd.kde4.mk
@@ -62,7 +62,8 @@ CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
## XXX - This really belongs into bsd.port.mk
.if !defined(_NO_KDE_CONFTARGET_HACK)
CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
+ --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
.endif
.if ${USE_KDELIBS_VER} == CVS
diff --git a/audio/arts/Makefile b/audio/arts/Makefile
index 8036b83866c2..93651e68b319 100644
--- a/audio/arts/Makefile
+++ b/audio/arts/Makefile
@@ -38,7 +38,8 @@ _NO_KDE_FINAL= yes
CFLAGS+= -DHAVE_VASPRINTF
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
CONFIGURE_TARGET= # empty
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
+ --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
OPTIONS= ESD "Enable esound support" off \
NAS "Enable NAS support" off
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile
index a591fc61b1ab..cb961a1bc689 100644
--- a/x11/kdelibs3/Makefile
+++ b/x11/kdelibs3/Makefile
@@ -52,7 +52,8 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET=# empty
CONFIGURE_ARGS+=--disable-ltdl-install \
--enable-mt \
- --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+ --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
+ --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
FONTSCALE= ${X11BASE}/lib/X11/fonts/TTF/luximb.ttf
FONTENCOD= ${X11BASE}/lib/X11/fonts/encodings/tcvn-0.enc
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index a591fc61b1ab..cb961a1bc689 100644
--- a/x11/kdelibs4/Makefile
+++ b/x11/kdelibs4/Makefile
@@ -52,7 +52,8 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET=# empty
CONFIGURE_ARGS+=--disable-ltdl-install \
--enable-mt \
- --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+ --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
+ --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
FONTSCALE= ${X11BASE}/lib/X11/fonts/TTF/luximb.ttf
FONTENCOD= ${X11BASE}/lib/X11/fonts/encodings/tcvn-0.enc