[Midnightbsd-cvs] mports: Makefile: don't try to build on 0.2.1 or lower as the openssl

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Mar 18 17:39:02 EDT 2009


Log Message:
-----------
don't try to build on 0.2.1 or lower as the openssl version is too old

Modified Files:
--------------
    mports/security/openpgpsdk:
        Makefile (r1.3 -> r1.4)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/security/openpgpsdk/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -L security/openpgpsdk/Makefile -L security/openpgpsdk/Makefile -u -r1.3 -r1.4
--- security/openpgpsdk/Makefile
+++ security/openpgpsdk/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	openpgpsdk
 PORTVERSION=	0.9
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://openpgp.nominet.org.uk/downloads/
 EXTRACT_SUFX=	.tgz
@@ -11,6 +12,7 @@
 LICENSE=	bsd3
 
 USE_PERL5=	yes
+USE_OPENSSL_BASE=	yes
 HAS_CONFIGURE=	YES
 #USE_AUTOTOOLS=	autoheader:262
 CONFIGURE_ARGS=	--without-idea --with-cunit=${LOCALBASE}
@@ -19,6 +21,16 @@
 
 .include <bsd.port.pre.mk>
 
+# Check if this port can't build.. 0.2.1 or 0.1.1 don't have 
+# recent openssl.  We don't really deal with port versions yet.
+.if (${OSVERSION} > 600000)
+BROKEN=	This port requires .98 openssl
+.endif
+
+.if (${OSVERSION} < 3000)
+BROKEN=	This port requires .98 openssl
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/openpgp ${PREFIX}/bin/
 	${INSTALL_DATA} ${WRKSRC}/lib/libops.a ${PREFIX}/lib/


More information about the Midnightbsd-cvs mailing list