diff options
author | vanilla <vanilla@FreeBSD.org> | 2003-02-24 21:28:32 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2003-02-24 21:28:32 +0800 |
commit | 9f0e66a54c594375cac8707d741e02d771376ec7 (patch) | |
tree | 4b1970d40641f3cc9662935be7f6d6e3ddac3dc2 /devel | |
parent | 9fa42be242d6c06fa453b452ac794902c800f506 (diff) | |
download | freebsd-ports-graphics-9f0e66a54c594375cac8707d741e02d771376ec7.tar.gz freebsd-ports-graphics-9f0e66a54c594375cac8707d741e02d771376ec7.tar.zst freebsd-ports-graphics-9f0e66a54c594375cac8707d741e02d771376ec7.zip |
Respect CFLAGS.
PR: ports/48624
Submitted by: maintainer
Diffstat (limited to 'devel')
-rw-r--r-- | devel/php-dbg/Makefile | 2 | ||||
-rw-r--r-- | devel/php-dbg/files/patch-configure | 25 | ||||
-rw-r--r-- | devel/php-dbg2/Makefile | 2 | ||||
-rw-r--r-- | devel/php-dbg2/files/patch-configure | 25 |
4 files changed, 54 insertions, 0 deletions
diff --git a/devel/php-dbg/Makefile b/devel/php-dbg/Makefile index be1d905d92d..8f55ecc7ab8 100644 --- a/devel/php-dbg/Makefile +++ b/devel/php-dbg/Makefile @@ -7,6 +7,7 @@ PORTNAME= dbg PORTVERSION= 2.11.5 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://dd.cron.ru/dbg/dnld/ PKGNAMEPREFIX= php- @@ -24,6 +25,7 @@ USE_LIBTOOL= yes WRKSRC= ${WRKDIR}/dbg CONFIGURE_ARGS= --enable-dbg=shared --with-dbg-profiler \ --with-php-config=${PREFIX}/bin/php-config +CONFIGURE_ENV= CFLAGS="${CFLAGS}" PKGMESSAGE= ${WRKDIR}/pkg-message PLIST= ${WRKDIR}/pkg-plist diff --git a/devel/php-dbg/files/patch-configure b/devel/php-dbg/files/patch-configure new file mode 100644 index 00000000000..60a09a1893b --- /dev/null +++ b/devel/php-dbg/files/patch-configure @@ -0,0 +1,25 @@ +--- configure.orig Mon Feb 24 12:14:38 2003 ++++ configure Mon Feb 24 12:15:22 2003 +@@ -2217,18 +2217,18 @@ + + OVERALL_TARGET=php + php_c_pre='$(CC)' +- php_c_meta='$(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)' ++ php_c_meta='$(COMMON_FLAGS) ${CFLAGS} $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)' + php_c_post=' && echo > $@' + php_cxx_pre='$(CXX)' +- php_cxx_meta='$(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)' ++ php_cxx_meta='$(COMMON_FLAGS) ${CXXFLAGS} $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)' + php_cxx_post=' && echo > $@' + php_lo=o + + shared_c_pre='$(LIBTOOL) --mode=compile $(CC)' +- shared_c_meta='$(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -prefer-pic' ++ shared_c_meta='$(COMMON_FLAGS) ${CFLAGS} $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)' + shared_c_post= + shared_cxx_pre='$(LIBTOOL) --mode=compile $(CXX)' +- shared_cxx_meta='$(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS) -prefer-pic' ++ shared_cxx_meta='$(COMMON_FLAGS) ${CXXFLAGS} $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)' + shared_cxx_post= + shared_lo=lo + diff --git a/devel/php-dbg2/Makefile b/devel/php-dbg2/Makefile index be1d905d92d..8f55ecc7ab8 100644 --- a/devel/php-dbg2/Makefile +++ b/devel/php-dbg2/Makefile @@ -7,6 +7,7 @@ PORTNAME= dbg PORTVERSION= 2.11.5 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://dd.cron.ru/dbg/dnld/ PKGNAMEPREFIX= php- @@ -24,6 +25,7 @@ USE_LIBTOOL= yes WRKSRC= ${WRKDIR}/dbg CONFIGURE_ARGS= --enable-dbg=shared --with-dbg-profiler \ --with-php-config=${PREFIX}/bin/php-config +CONFIGURE_ENV= CFLAGS="${CFLAGS}" PKGMESSAGE= ${WRKDIR}/pkg-message PLIST= ${WRKDIR}/pkg-plist diff --git a/devel/php-dbg2/files/patch-configure b/devel/php-dbg2/files/patch-configure new file mode 100644 index 00000000000..60a09a1893b --- /dev/null +++ b/devel/php-dbg2/files/patch-configure @@ -0,0 +1,25 @@ +--- configure.orig Mon Feb 24 12:14:38 2003 ++++ configure Mon Feb 24 12:15:22 2003 +@@ -2217,18 +2217,18 @@ + + OVERALL_TARGET=php + php_c_pre='$(CC)' +- php_c_meta='$(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)' ++ php_c_meta='$(COMMON_FLAGS) ${CFLAGS} $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)' + php_c_post=' && echo > $@' + php_cxx_pre='$(CXX)' +- php_cxx_meta='$(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)' ++ php_cxx_meta='$(COMMON_FLAGS) ${CXXFLAGS} $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)' + php_cxx_post=' && echo > $@' + php_lo=o + + shared_c_pre='$(LIBTOOL) --mode=compile $(CC)' +- shared_c_meta='$(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -prefer-pic' ++ shared_c_meta='$(COMMON_FLAGS) ${CFLAGS} $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)' + shared_c_post= + shared_cxx_pre='$(LIBTOOL) --mode=compile $(CXX)' +- shared_cxx_meta='$(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS) -prefer-pic' ++ shared_cxx_meta='$(COMMON_FLAGS) ${CXXFLAGS} $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)' + shared_cxx_post= + shared_lo=lo + |