aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-10-18 02:08:22 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-10-18 02:08:22 +0800
commitca9af8fa4744af00d30ad0256b387621aa6ffba7 (patch)
treefa3aae54e32e1be552ecfc311c13539b8ba34eaf /security
parent924feb18fcf944efc7cfa0b8acb6efb680838e14 (diff)
downloadfreebsd-ports-gnome-ca9af8fa4744af00d30ad0256b387621aa6ffba7.tar.gz
freebsd-ports-gnome-ca9af8fa4744af00d30ad0256b387621aa6ffba7.tar.zst
freebsd-ports-gnome-ca9af8fa4744af00d30ad0256b387621aa6ffba7.zip
- Add LICENSE_FILE
- Use USES=localbase
Diffstat (limited to 'security')
-rw-r--r--security/pecl-gnupg/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/security/pecl-gnupg/Makefile b/security/pecl-gnupg/Makefile
index e4dbc760e31d..5ec9c037e274 100644
--- a/security/pecl-gnupg/Makefile
+++ b/security/pecl-gnupg/Makefile
@@ -13,15 +13,14 @@ MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PECL wrapper around the gpgme library
LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme
-CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --with-gnupg=${LOCALBASE}/include/gpgme
-LDFLAGS+= -L${LOCALBASE}/lib
USE_PHP= yes
USE_PHPEXT= yes
-USES= tar:tgz
+USES= localbase tar:tgz
post-patch:
@${REINPLACE_CMD} -e 's|$$GNUPG_DIR/lib|${LOCALBASE}/lib|; s| -ldl||g' ${WRKSRC}/config.m4