1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/security/netpgp/Makefile
John Marino 3991de13b2 security/netpgp: Document SSL requirement and support ports SSL libraries
The FreeBSD 10+ check for IDEA was hardcoded against the base library.
While all ports SSL library options likely have idea.h, extending the
check generically enables the port to build correctly on all platforms
when SSL_DEFAULT is set to something other than "base".

Approved by:	SSL blanket
2016-09-11 03:54:07 +00:00

26 lines
555 B
Makefile

# $FreeBSD$
PORTNAME= netpgp
PORTVERSION= 20140220
CATEGORIES= security
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 ssl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
.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.post.mk>