Skip to content

Commit

Permalink
Remove PHP 5.2.x supporting code.
Browse files Browse the repository at this point in the history
  • Loading branch information
taca committed Jun 18, 2012
1 parent 81cbf66 commit 95f0daf
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 55 deletions.
10 changes: 2 additions & 8 deletions lang/php5-perl/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2012/06/16 02:56:29 taca Exp $
# $NetBSD: Makefile,v 1.10 2012/06/18 15:14:19 taca Exp $

MODNAME= perl
PKGMODNAME= perl
Expand All @@ -9,16 +9,10 @@ COMMENT= PHP extension embedding Perl in PHP

PKG_DESTDIR_SUPPORT= user-destdir

PHP_VERSIONS_ACCEPTED= 52 53
PHP_VERSIONS_ACCEPTED= 53

CONFIGURE_ARGS+= --with-perl=${PERLDIR}

.include "../../lang/php/phpversion.mk"

.if ${PKG_PHP_VERSION} == "52"
PECL_LEGACY_VERSION_SCHEME= yes
.endif

.include "../../lang/perl5/buildlink3.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"
8 changes: 1 addition & 7 deletions multimedia/php-ming/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2012/05/12 11:32:39 obache Exp $
# $NetBSD: Makefile,v 1.17 2012/06/18 15:15:48 taca Exp $

.include "../../multimedia/ming/Makefile.common"
PECL_VERSION= ${MING_VERSION}
Expand All @@ -24,12 +24,6 @@ CONFIGURE_DIRS= ${PHPSETUPSUBDIR}
post-extract:
${CP} ${FILESDIR}/config.m4 ${WRKSRC}/${PHPSETUPSUBDIR}

# to avoid downgrade version
.include "../../lang/php/phpversion.mk"
.if ${PKG_PHP_VERSION} == "5" || ${PKG_PHP_VERSION} == "52"
PECL_LEGACY_VERSION_SCHEME= yes
.endif

.include "../../lang/php/ext.mk"
.include "../../multimedia/ming/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
11 changes: 1 addition & 10 deletions textproc/php-enchant/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2012/06/16 03:02:09 taca Exp $
# $NetBSD: Makefile,v 1.8 2012/06/18 15:16:16 taca Exp $

MODNAME= enchant
CATEGORIES+= textproc
Expand All @@ -10,15 +10,6 @@ CONFIGURE_ARGS+= --with-enchant=shared,${BUILDLINK_PREFIX.enchant}

BUILDLINK_API_DEPENDS.enchant+= enchant>=1.2.4

.include "../../lang/php/phpversion.mk"

# PHP 5.2.x needs pecl version
.if ${PKG_PHP_VERSION} == 52
PECL_VERSION= 1.1.0
PKGREVISION= 3
PECL_LEGACY_VERSION_SCHEME= yes
.endif

.include "../../lang/php/ext.mk"
.include "../../textproc/enchant/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
12 changes: 1 addition & 11 deletions textproc/php-intl/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2012/06/16 03:02:32 taca Exp $
# $NetBSD: Makefile,v 1.12 2012/06/18 15:16:49 taca Exp $

MODNAME= intl
PKGREVISION= 1
Expand All @@ -11,16 +11,6 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}

.include "../../lang/php/phpversion.mk"

# PHP 5.2.x needs pecl version
.if ${PKG_PHP_VERSION} == 52
PECL_VERSION= 2.0.0
PECL_LEGACY_VERSION_SCHEME= yes
.else
PATCHDIR= # ignore patch in current directory
.endif

.include "../../lang/php/ext.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
6 changes: 0 additions & 6 deletions textproc/php-intl/distinfo

This file was deleted.

13 changes: 0 additions & 13 deletions textproc/php-intl/patches/patch-aj

This file was deleted.

0 comments on commit 95f0daf

Please sign in to comment.