diff options
Diffstat (limited to 'devel/php5-ice')
-rw-r--r-- | devel/php5-ice/Makefile | 3 | ||||
-rw-r--r-- | devel/php5-ice/files/patch-cpp+config+Make.rules.FreeBSD | 4 |
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 |