diff options
author | obache <obache@pkgsrc.org> | 2011-12-17 13:46:27 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-12-17 13:46:27 +0000 |
commit | d11faae4717fc7254d9a93990cddae340790ab68 (patch) | |
tree | 0201099d58a10a76fa4a723dc2af453a6d168585 /print | |
parent | 46bdb42bd724ba4440254133b62d000c1332875a (diff) | |
download | pkgsrc-d11faae4717fc7254d9a93990cddae340790ab68.tar.gz |
Change default PKGNAME scheme for PECL packages.
Drop ${PHP_BASE_VARS} from PKGVERSION by default.
It used to be required to support multiple php version.
But after PHP version based ${PHP_PKG_PREFIX} was introduced,
such trick is not required anymore.
In addition to this, such version name schme invokes unwanted version bump
when base php version is bumped, plus, such version scheme is hard to
use for DEPENDS pattern.
To avoid downgrading of package using such legacy version scheme,
PECL_LEGACY_VERSION_SCHEME is introduced.
If it is defined, current version scheme is still used for currently
supported PHP version (5 and 53), but instead of ${PHP_BASE_VARS},
current fixed PHP base version in pkgsrc is used to avoid unwanted version bump
from update of PHP base package.
With newer PHP (54, or so on), new version scheme will be used if
it is defined.
This trick will not be required and should be removed after php5 and php53 will
be gone away from pkgsrc.
Diffstat (limited to 'print')
-rw-r--r-- | print/php-pdflib/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/print/php-pdflib/Makefile b/print/php-pdflib/Makefile index b89a478dbb9..a21c3d9b8d3 100644 --- a/print/php-pdflib/Makefile +++ b/print/php-pdflib/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.18 2011/01/13 13:39:13 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2011/12/17 13:46:28 obache Exp $ MODNAME= pdflib PKGMODNAME= pdf PECL_VERSION= 2.1.8 PKGREVISION= 1 +PECL_LEGACY_VERSION_SCHEME= yes CATEGORIES+= print COMMENT= PHP extension for PDFlib on-the-fly PDF generation |