From 6f6fbe4bdf9851de1eb6ebef5287e3007846045e Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 23 Sep 2011 22:26:39 +0000 Subject: - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS) - Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav --- databases/hk_classes/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'databases/hk_classes/Makefile') diff --git a/databases/hk_classes/Makefile b/databases/hk_classes/Makefile index cad6975eda9f..4bdada294746 100644 --- a/databases/hk_classes/Makefile +++ b/databases/hk_classes/Makefile @@ -22,9 +22,9 @@ USE_PYTHON= yes USE_GNOME= pkgconfig USE_GETTEXT= yes CXXFLAGS+= ${PTHREAD_CFLAGS} -LDFLAGS= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -largp -lintl +LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -largp -lintl USE_AUTOTOOLS= libtool -CONFIGURE_ENV+= PYTHON_VERSION=${PYTHON_VERSION:S/python//} LDFLAGS="${LDFLAGS}" +CONFIGURE_ENV+= PYTHON_VERSION=${PYTHON_VERSION:S/python//} CONFIGURE_ARGS+=--with-python-libdir=${PYTHON_LIBDIR} \ --with-python-incdir=${PYTHON_INCLUDEDIR} \ --with-fontconfig-incdir=${LOCALBASE}/include/fontconfig \ @@ -56,8 +56,8 @@ USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql-dir=${LOCALBASE} \ --with-mysql-incdir=${LOCALBASE}/include/mysql \ --with-mysql-libdir=${LOCALBASE}/lib/mysql -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql" +CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql" +CPPFLAGS+= -I${LOCALBASE}/include PLIST_SUB+= MYSQL="" .else CONFIGURE_ARGS+= --without-mysql @@ -68,7 +68,8 @@ PLIST_SUB+= MYSQL="@comment " USE_PGSQL= yes CONFIGURE_ARGS+= --with-postgres-incdir=${LOCALBASE}/include/ \ --with-postgres-libdir=${LOCALBASE}/lib -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib" +CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" +CPPFLAGS+= -I${LOCALBASE}/include PLIST_SUB+= POSTGRESQL="" .else CONFIGURE_ARGS+= --without-postgres -- cgit v1.2.3