Pullup ticket #4226 - requested by bouyer lang/php53: build fix lang/php54: build fix Revisions pulled up: - lang/php53/Makefile 1.42 - lang/php54/Makefile 1.12 --- Module Name: pkgsrc Committed By: joerg Date: Tue Aug 13 10:22:26 UTC 2013 Modified Files: pkgsrc/lang/php53: Makefile pkgsrc/lang/php54: Makefile Log Message: Allow only the PHP version itself, otherwise the multi-version logic will trigger with failing distinfo entries.diff -r1.39.4.2 -r1.39.4.3 pkgsrc/lang/php53/Makefile
(tron)
@@ -1,32 +1,34 @@ | @@ -1,32 +1,34 @@ | |||
1 | # $NetBSD: Makefile,v 1.39.4.2 2013/08/25 16:56:44 tron Exp $ | 1 | # $NetBSD: Makefile,v 1.39.4.3 2013/08/31 16:51:50 tron Exp $ | |
2 | 2 | |||
3 | # | 3 | # | |
4 | # We can't omit PKGNAME here to handle PKG_OPTIONS. | 4 | # We can't omit PKGNAME here to handle PKG_OPTIONS. | |
5 | # | 5 | # | |
6 | PKGNAME= php-${PHP_BASE_VERS} | 6 | PKGNAME= php-${PHP_BASE_VERS} | |
7 | PKGREVISION= 2 | 7 | PKGREVISION= 2 | |
8 | CATEGORIES= lang | 8 | CATEGORIES= lang | |
9 | 9 | |||
10 | HOMEPAGE= http://www.php.net/ | 10 | HOMEPAGE= http://www.php.net/ | |
11 | COMMENT= PHP Hypertext Preprocessor version 5 | 11 | COMMENT= PHP Hypertext Preprocessor version 5 | |
12 | LICENSE= php | 12 | LICENSE= php | |
13 | 13 | |||
14 | TEST_TARGET= test | 14 | TEST_TARGET= test | |
15 | 15 | |||
16 | USE_TOOLS+= gmake lex pkg-config | 16 | USE_TOOLS+= gmake lex pkg-config | |
17 | LIBTOOL_OVERRIDE= # empty | 17 | LIBTOOL_OVERRIDE= # empty | |
18 | PHP_CHECK_INSTALLED= No | 18 | PHP_CHECK_INSTALLED= No | |
19 | 19 | |||
20 | PHP_VERSIONS_ACCEPTED?= 53 | |||
21 | ||||
20 | .include "Makefile.php" | 22 | .include "Makefile.php" | |
21 | 23 | |||
22 | CGIDIR= ${PREFIX}/libexec/cgi-bin | 24 | CGIDIR= ${PREFIX}/libexec/cgi-bin | |
23 | EGDIR= ${PREFIX}/share/examples/php | 25 | EGDIR= ${PREFIX}/share/examples/php | |
24 | MESSAGE_SUBST+= CGIDIR=${CGIDIR} | 26 | MESSAGE_SUBST+= CGIDIR=${CGIDIR} | |
25 | 27 | |||
26 | CONFIGURE_ENV+= lt_cv_path_SED=${SED:Q} | 28 | CONFIGURE_ENV+= lt_cv_path_SED=${SED:Q} | |
27 | MAKE_ENV+= INSTALL_ROOT=${DESTDIR} | 29 | MAKE_ENV+= INSTALL_ROOT=${DESTDIR} | |
28 | 30 | |||
29 | CONF_FILES= ${EGDIR}/php.ini-production ${PKG_SYSCONFDIR}/php.ini | 31 | CONF_FILES= ${EGDIR}/php.ini-production ${PKG_SYSCONFDIR}/php.ini | |
30 | PLIST_SUBST+= PHPEXTDIR="${PHP_EXTENSION_DIR}" | 32 | PLIST_SUBST+= PHPEXTDIR="${PHP_EXTENSION_DIR}" | |
31 | 33 | |||
32 | SUBST_CLASSES+= path | 34 | SUBST_CLASSES+= path |
@@ -1,30 +1,32 @@ | @@ -1,30 +1,32 @@ | |||
1 | # $NetBSD: Makefile,v 1.8.4.2 2013/08/25 17:26:38 tron Exp $ | 1 | # $NetBSD: Makefile,v 1.8.4.3 2013/08/31 16:51:50 tron Exp $ | |
2 | 2 | |||
3 | # | 3 | # | |
4 | # We can't omit PKGNAME here to handle PKG_OPTIONS. | 4 | # We can't omit PKGNAME here to handle PKG_OPTIONS. | |
5 | # | 5 | # | |
6 | PKGNAME= php-${PHP_BASE_VERS} | 6 | PKGNAME= php-${PHP_BASE_VERS} | |
7 | CATEGORIES= lang | 7 | CATEGORIES= lang | |
8 | 8 | |||
9 | HOMEPAGE= http://www.php.net/ | 9 | HOMEPAGE= http://www.php.net/ | |
10 | COMMENT= PHP Hypertext Preprocessor version 5 | 10 | COMMENT= PHP Hypertext Preprocessor version 5 | |
11 | LICENSE= php | 11 | LICENSE= php | |
12 | 12 | |||
13 | TEST_TARGET= test | 13 | TEST_TARGET= test | |
14 | 14 | |||
15 | USE_TOOLS+= gmake lex pkg-config | 15 | USE_TOOLS+= gmake lex pkg-config | |
16 | LIBTOOL_OVERRIDE= # empty | 16 | LIBTOOL_OVERRIDE= # empty | |
17 | 17 | |||
18 | PHP_VERSIONS_ACCEPTED= 54 | |||
19 | ||||
18 | .include "Makefile.php" | 20 | .include "Makefile.php" | |
19 | 21 | |||
20 | CGIDIR= ${PREFIX}/libexec/cgi-bin | 22 | CGIDIR= ${PREFIX}/libexec/cgi-bin | |
21 | EGDIR= ${PREFIX}/share/examples/php | 23 | EGDIR= ${PREFIX}/share/examples/php | |
22 | MESSAGE_SUBST+= CGIDIR=${CGIDIR} | 24 | MESSAGE_SUBST+= CGIDIR=${CGIDIR} | |
23 | 25 | |||
24 | CONFIGURE_ENV+= lt_cv_path_SED=${SED:Q} | 26 | CONFIGURE_ENV+= lt_cv_path_SED=${SED:Q} | |
25 | MAKE_ENV+= INSTALL_ROOT=${DESTDIR} | 27 | MAKE_ENV+= INSTALL_ROOT=${DESTDIR} | |
26 | 28 | |||
27 | CONF_FILES= ${EGDIR}/php.ini-production ${PKG_SYSCONFDIR}/php.ini | 29 | CONF_FILES= ${EGDIR}/php.ini-production ${PKG_SYSCONFDIR}/php.ini | |
28 | PLIST_SUBST+= PHPEXTDIR="${PHP_EXTENSION_DIR}" | 30 | PLIST_SUBST+= PHPEXTDIR="${PHP_EXTENSION_DIR}" | |
29 | 31 | |||
30 | SUBST_CLASSES+= path | 32 | SUBST_CLASSES+= path |