svn commit: r379752 - head/devel/pecl-hidef

Vanilla I. Shu vanilla at FreeBSD.org
Tue Feb 24 06:09:39 UTC 2015


Author: vanilla
Date: Tue Feb 24 06:09:38 2015
New Revision: 379752
URL: https://svnweb.freebsd.org/changeset/ports/379752
QAT: https://qat.redports.org/buildarchive/r379752/

Log:
  set default php version to 5.3, and strip binary.

Modified:
  head/devel/pecl-hidef/Makefile

Modified: head/devel/pecl-hidef/Makefile
==============================================================================
--- head/devel/pecl-hidef/Makefile	Tue Feb 24 06:07:14 2015	(r379751)
+++ head/devel/pecl-hidef/Makefile	Tue Feb 24 06:09:38 2015	(r379752)
@@ -16,6 +16,7 @@ LICENSE=	PHP301
 USES=		tar:tgz
 USE_PHP=	yes
 USE_PHPEXT=	yes
+DEFAULT_VERSIONS+=	php=53
 IGNORE_WITH_PHP=	56
 
 CONFIGURE_ARGS=	--enable-hidef
@@ -27,4 +28,7 @@ post-patch:
 	@${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,g' \
 	${WRKSRC}/hidef.c
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/${PHP_MODNAME}.so
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list