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.
This commit is contained in:
Chris Piazza
1999-08-25 05:18:43 +00:00
parent 1300477e40
commit 8245eaccc6
4 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -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>
+3 -3
View File
@@ -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>
+3 -3
View File
@@ -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>
+3 -3
View File
@@ -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>