pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

php-gnupg: Add check for gpgme compiled with gnupg1



Module Name:	pkgsrc-wip
Committed By:	Travis Paul <tr%vispaul.me@localhost>
Pushed By:	tpaul
Date:		Tue Mar 3 06:45:38 2020 +0000
Changeset:	2f8828bccb8b8b465e2e366e593478e22a900cac

Modified Files:
	php-gnupg/Makefile

Log Message:
php-gnupg: Add check for gpgme compiled with gnupg1

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2f8828bccb8b8b465e2e366e593478e22a900cac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 php-gnupg/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diffs:
diff --git a/php-gnupg/Makefile b/php-gnupg/Makefile
index ee0ca33ca4..02e27687e1 100644
--- a/php-gnupg/Makefile
+++ b/php-gnupg/Makefile
@@ -13,5 +13,10 @@ CONFIGURE_ARGS+=	--with-gnupg=${PREFIX}/include
 INSTALLATION_DIRS+=	include/php/ext/gnupg
 
 .include "../../security/gpgme/buildlink3.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.gpgme:Mgnupg2)
+PKG_FAIL_REASON+=	"gpgme should be build with gnupg1 option"
+.endif
+
 .include "../../lang/php/ext.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index