summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2011-01-15 23:54:43 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2011-01-15 23:54:43 +0000
commitf1d32d2c9c5d001a521af7cbfc28a256550836bf (patch)
treee80aad86f28950cbee63599116ec0426d10441c3
parentFix whitespace in Makefile. Add USE_LDCONFIG. (diff)
Fix the handling of CPPFLAGS in the context of CONFIGURE_ENV / MAKE_ENV.
PR: 153625 Feature safe: yes
Notes
Notes: svn path=/head/; revision=267870
-rw-r--r--security/openscep/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/security/openscep/Makefile b/security/openscep/Makefile
index 5033beea6a67..2080f812147b 100644
--- a/security/openscep/Makefile
+++ b/security/openscep/Makefile
@@ -24,14 +24,13 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
+CPPFLAGS+= -I${LOCALBASE}/include
+CONFIGURE_ENV= CPPFLAGS=${CPPFLAGS} LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-html-install-dir="${PREFIX}/www/openscep" \
--with-cgi-install-dir="${PREFIX}/www/cgi-bin/openscep" \
--with-openscep-dir="${PREFIX}/etc/openscep" \
--with-pkiclientexe="${PREFIX}/www/cgi-bin/pkiclient.exe"
-
-MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
+MAKE_ENV= CPPFLAGS=${CPPFLAGS}
CONF_DIR= ${PREFIX}/etc/${PORTNAME}
LOCAL_CONF_FILES= openscep.cnf openscep.ldif openscep.schema slapd.conf