summaryrefslogtreecommitdiff
path: root/devel/php5-ice
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-02-14 09:42:12 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-02-14 09:42:12 +0000
commit03cceed935615886af3d9551e9fb9b573ce3744a (patch)
treefefb362514ed477cab8a0c201ef842c790185635 /devel/php5-ice
parentDeprecate ports related to no more support vmware versions (diff)
- Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: devel)
Approved by: portmgr
Notes
Notes: svn path=/head/; revision=312209
Diffstat (limited to 'devel/php5-ice')
-rw-r--r--devel/php5-ice/Makefile3
-rw-r--r--devel/php5-ice/files/patch-cpp+config+Make.rules.FreeBSD4
2 files changed, 3 insertions, 4 deletions
diff --git a/devel/php5-ice/Makefile b/devel/php5-ice/Makefile
index 856f3415bf5c..71de9ca7fc3e 100644
--- a/devel/php5-ice/Makefile
+++ b/devel/php5-ice/Makefile
@@ -29,7 +29,7 @@ INSTALL_WRKSRC= ${WRKSRC}/php
LIB_VRS= ${PORTVERSION:S|.||g:C|2$||}
PHP_MODNAME?= IcePHP
-CFLAGS+= -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT ${PTHREAD_CFLAGS}
+CFLAGS+= -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT
.if defined(DEBUG)
CFLAGS+= -g
.else
@@ -50,7 +50,6 @@ MAKE_ENV+= NOPORTDOCS=yes
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/php/config/Make.rules.php
${REINPLACE_CMD} 's|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \
s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \
s|%%PREFIX%%|${PREFIX}|g ; \
diff --git a/devel/php5-ice/files/patch-cpp+config+Make.rules.FreeBSD b/devel/php5-ice/files/patch-cpp+config+Make.rules.FreeBSD
index 41619d6da981..3a724bb9dcc1 100644
--- a/devel/php5-ice/files/patch-cpp+config+Make.rules.FreeBSD
+++ b/devel/php5-ice/files/patch-cpp+config+Make.rules.FreeBSD
@@ -19,12 +19,12 @@
mklib = ar cr $(1) $(2)
-BASELIBS = -lIceUtil -lc_r
-+BASELIBS = -lIceUtil %%PTHREAD_LIBS%% -L$(LOCALBASE)/lib -liconv
++BASELIBS = -lIceUtil -pthread -L$(LOCALBASE)/lib -liconv
LIBS = -lIce $(BASELIBS)
-ICEUTIL_OS_LIBS =
-ICE_OS_LIBS =
-+ICEUTIL_OS_LIBS = %%PTHREAD_LIBS%%
++ICEUTIL_OS_LIBS = -pthread
+ICE_OS_LIBS =
PLATFORM_HAS_READLINE = yes