aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdelibs2/Makefile
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-08-25 13:18:43 +0800
committercpiazza <cpiazza@FreeBSD.org>1999-08-25 13:18:43 +0800
commit64dd5c81c605e5f0d42a53885b6d99c64adc0964 (patch)
tree467d634506cd42436ecbe53f4181c21cb6ab2743 /x11/kdelibs2/Makefile
parentf266e39f7027ac51326098abda3b08fd06fa770d (diff)
downloadfreebsd-ports-gnome-64dd5c81c605e5f0d42a53885b6d99c64adc0964.tar.gz
freebsd-ports-gnome-64dd5c81c605e5f0d42a53885b6d99c64adc0964.tar.zst
freebsd-ports-gnome-64dd5c81c605e5f0d42a53885b6d99c64adc0964.zip
Pass ${LOCALBASE}/(lib,include) as CPPFLAGS/LDFLAGS so installing
into another prefix will find libjpeg. Most (if not all) of the kde ports will similarly have to be changed.
Diffstat (limited to 'x11/kdelibs2/Makefile')
-rw-r--r--x11/kdelibs2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/kdelibs2/Makefile b/x11/kdelibs2/Makefile
index 7855bf2dac22..a767f61b5573 100644
--- a/x11/kdelibs2/Makefile
+++ b/x11/kdelibs2/Makefile
@@ -3,7 +3,7 @@
# Date created: 28 October 1997
# Whom: Stefan Eßer <se@freebsd.org>
#
-# $Id: Makefile,v 1.29 1999/02/28 21:48:09 asami Exp $
+# $Id: Makefile,v 1.30 1999/05/03 22:29:31 se Exp $
#
DISTNAME= kdelibs-1.1.1
@@ -25,9 +25,9 @@ CONFIGURE_ARGS= "--prefix=$(PREFIX)" \
"--with-extra-includes=${PREFIX}/include" \
"--x-inc=$(X11BASE)/include" \
"--x-lib=$(X11BASE)/lib"
-CONFIGURE_ENV= CXXFLAGS="${CFLAGS}"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
-CFLAGS+= "-I$(PREFIX)/include"
.include <bsd.port.pre.mk>