summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-19 20:21:10 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-19 20:21:10 +0000
commit5b9e9cd2dcd5af2d116800f77e67fdbfd1dc0369 (patch)
tree639eecd4236f2cf28e2fc5c461de68e62812550e
parent67f12c22b883140ed10fad41d88ec5e59b91d450 (diff)
downloadfreebsd-ports-5b9e9cd2dcd5af2d116800f77e67fdbfd1dc0369.zip
- Use USES=localbase
- Pet portlint: fix diff header of patch files
-rw-r--r--security/p5-Crypt-GCrypt/Makefile4
-rw-r--r--security/p5-Crypt-GCrypt/files/patch-GCrypt.xs4
2 files changed, 3 insertions, 5 deletions
diff --git a/security/p5-Crypt-GCrypt/Makefile b/security/p5-Crypt-GCrypt/Makefile
index ce28024f3146..27321e3bbe42 100644
--- a/security/p5-Crypt-GCrypt/Makefile
+++ b/security/p5-Crypt-GCrypt/Makefile
@@ -16,10 +16,8 @@ LICENSE_COMB= dual
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt
-CONFIGURE_ARGS= GCRYPTINCPATH=${LOCALBASE}/include \
- GCRYPTLIBPATH=${LOCALBASE}/lib
USE_PERL5= configure
-USES= perl5
+USES= localbase perl5
post-stage:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/GCrypt/GCrypt.so
diff --git a/security/p5-Crypt-GCrypt/files/patch-GCrypt.xs b/security/p5-Crypt-GCrypt/files/patch-GCrypt.xs
index b1e041e18232..4a6b8ae17bbd 100644
--- a/security/p5-Crypt-GCrypt/files/patch-GCrypt.xs
+++ b/security/p5-Crypt-GCrypt/files/patch-GCrypt.xs
@@ -1,5 +1,5 @@
---- GCrypt.xs.orig 2011-05-27 22:04:03.000000000 +0200
-+++ GCrypt.xs 2014-07-27 16:14:05.000000000 +0200
+--- GCrypt.xs.orig 2011-05-27 20:04:03 UTC
++++ GCrypt.xs
@@ -56,9 +56,13 @@
int type;
int action;