pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
php-psr: Fix pkglint warnings
Module Name: pkgsrc-wip
Committed By: Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By: otis
Date: Sat Oct 10 14:27:33 2020 +0000
Changeset: be0c376f34ae103841e6ab7cb9ec375fe56c991c
Modified Files:
php-psr/Makefile
php-psr/buildlink3.mk
Log Message:
php-psr: Fix pkglint warnings
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=be0c376f34ae103841e6ab7cb9ec375fe56c991c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
php-psr/Makefile | 3 +--
php-psr/buildlink3.mk | 16 +++++++---------
2 files changed, 8 insertions(+), 11 deletions(-)
diffs:
diff --git a/php-psr/Makefile b/php-psr/Makefile
index 852df34c50..7253382701 100644
--- a/php-psr/Makefile
+++ b/php-psr/Makefile
@@ -6,13 +6,12 @@ CATEGORIES= www
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://pecl.php.net/package/psr
-COMMENT= This extension provides the accepted PSR interfaces, so they can be used in an extension
+COMMENT= Provide the accepted PSR interfaces for other extensions
LICENSE= 2-clause-bsd
PHP_VERSIONS_ACCEPTED= 72 73 74
USE_LANGUAGES= c c++
-USE_LIBTOOL= yes
INSTALLATION_DIRS+= include/php/ext/psr
PLIST_SRC+= PLIST
diff --git a/php-psr/buildlink3.mk b/php-psr/buildlink3.mk
index b5ff1c544a..0cd2c03060 100644
--- a/php-psr/buildlink3.mk
+++ b/php-psr/buildlink3.mk
@@ -1,14 +1,12 @@
# $NetBSD$
-.include "../../lang/php/phpversion.mk"
+BUILDLINK_TREE+= php-psr
-BUILDLINK_TREE+= ${PHP_PKG_PREFIX}-psr
+.if !defined(PHP_PSR_BUILDLINK3_MK)
+PHP_PSR_BUILDLINK3_MK:=
-.if !defined(${PHP_PKG_PREFIX}_PSR_BUILDLINK3_MK)
-${PHP_PKG_PREFIX}_PSR_BUILDLINK3_MK:=
+BUILDLINK_API_DEPENDS.php-psr+= ${PHP_PKG_PREFIX}-psr>=1.0.0
+BUILDLINK_PKGSRCDIR.php-psr?= ../../www/php-psr
+.endif # PHP_PSR_BUILDLINK3_MK
-BUILDLINK_API_DEPENDS.${PHP_PKG_PREFIX}-psr+= ${PHP_PKG_PREFIX}-psr>=1.0.0
-BUILDLINK_PKGSRCDIR.${PHP_PKG_PREFIX}-psr?= ../../www/php-psr
-.endif # ${PHP_PKG_PREFIX}_PSR_BUILDLINK3_MK
-
-BUILDLINK_TREE+= -${PHP_PKG_PREFIX}-psr
+BUILDLINK_TREE+= -php-psr
Home |
Main Index |
Thread Index |
Old Index