aboutsummaryrefslogtreecommitdiff
path: root/security/netpgp
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-09-11 03:54:07 +0000
committerJohn Marino <marino@FreeBSD.org>2016-09-11 03:54:07 +0000
commit3991de13b27d7cf9175c1183b439eb728cad27fc (patch)
treefd5a8232cd3fd9930275abc759b3686c04509221 /security/netpgp
parent3b4b23de6aeed9129339bf0bfc0043db0173c7a3 (diff)
Notes
Diffstat (limited to 'security/netpgp')
-rw-r--r--security/netpgp/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/security/netpgp/Makefile b/security/netpgp/Makefile
index a7a88b3f4ed2..0bf63845d1a3 100644
--- a/security/netpgp/Makefile
+++ b/security/netpgp/Makefile
@@ -8,15 +8,18 @@ MASTER_SITES= ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/LOCAL_PORTS/
MAINTAINER= johans@FreeBSD.org
COMMENT= PGP signing, verification, encryption, and decryption program
-USES= libtool
-USE_OPENSSL= yes
+USES= libtool ssl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-CFLAGS+= -Wno-error
-.if !exists(/usr/include/openssl/idea.h)
+.include <bsd.port.pre.mk>
+
+CPPFLAGS+= -I${OPENSSLINC}
+CFLAGS+= -I${OPENSSLINC} -Wno-error
+LDFLAGS+= -L${OPENSSLLIB}
+.if !exists(${OPENSSLINC}/openssl/idea.h)
CFLAGS+= -DOPENSSL_NO_IDEA
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>