From 8245eaccc65b3e9efcc7254d1e09fa5e20c5d53d Mon Sep 17 00:00:00 2001 From: Chris Piazza Date: Wed, 25 Aug 1999 05:18:43 +0000 Subject: 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. --- x11/kdelibs2/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'x11/kdelibs2') 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 # -# $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 -- cgit v1.2.3