aboutsummaryrefslogtreecommitdiffstats
path: root/security/netpgp
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-11 15:31:53 +0800
committerbapt <bapt@FreeBSD.org>2013-12-11 15:31:53 +0800
commit1e44414ac1fc19649ac69a21f55d3d3aa4c83b75 (patch)
treebf8e0b6873ac8fa6271e0d8e1df25de65948da73 /security/netpgp
parentd828b1c8a033a1c9252051322636091d2ed3eea2 (diff)
downloadfreebsd-ports-gnome-1e44414ac1fc19649ac69a21f55d3d3aa4c83b75.tar.gz
freebsd-ports-gnome-1e44414ac1fc19649ac69a21f55d3d3aa4c83b75.tar.zst
freebsd-ports-gnome-1e44414ac1fc19649ac69a21f55d3d3aa4c83b75.zip
Support stage
Fix build on 10 and HEAD
Diffstat (limited to 'security/netpgp')
-rw-r--r--security/netpgp/Makefile12
-rw-r--r--security/netpgp/pkg-plist5
2 files changed, 9 insertions, 8 deletions
diff --git a/security/netpgp/Makefile b/security/netpgp/Makefile
index dd93eccd9e99..ce8a3f20e383 100644
--- a/security/netpgp/Makefile
+++ b/security/netpgp/Makefile
@@ -14,13 +14,9 @@ USE_OPENSSL= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CFLAGS+= -DOPENSSL_NO_IDEA -Wno-error
+CFLAGS+= -Wno-error
+.if !exists(/usr/include/openssl/idea.h)
+CFLAGS+=- -DOPENSSL_NO_IDEA
+.endif
-MAN1+= netpgp.1 \
- netpgpkeys.1 \
- netpgpverify.1
-MAN3+= libnetpgp.3 \
- libmj.3
-
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/security/netpgp/pkg-plist b/security/netpgp/pkg-plist
index 489f03346029..f6a3c8c2d47d 100644
--- a/security/netpgp/pkg-plist
+++ b/security/netpgp/pkg-plist
@@ -10,3 +10,8 @@ lib/libmj.la
lib/libmj.so
lib/libmj.so.0
lib/libmj.a
+man/man1/netpgp.1.gz
+man/man1/netpgpkeys.1.gz
+man/man1/netpgpverify.1.gz
+man/man3/libmj.3.gz
+man/man3/libnetpgp.3.gz