svn commit: r421657 - head/sysutils/sbsigntool

John Marino marino at FreeBSD.org
Sat Sep 10 03:57:14 UTC 2016


Author: marino
Date: Sat Sep 10 03:57:12 2016
New Revision: 421657
URL: https://svnweb.freebsd.org/changeset/ports/421657

Log:
  sysutils/sbsigntool: document SSL requirement and set flags accordingly

Modified:
  head/sysutils/sbsigntool/Makefile

Modified: head/sysutils/sbsigntool/Makefile
==============================================================================
--- head/sysutils/sbsigntool/Makefile	Sat Sep 10 03:41:00 2016	(r421656)
+++ head/sysutils/sbsigntool/Makefile	Sat Sep 10 03:57:12 2016	(r421657)
@@ -17,18 +17,18 @@ BUILD_DEPENDS=	${LOCALBASE}/lib/libgnuef
 LIB_DEPENDS=	libuuid.so:misc/e2fsprogs-libuuid
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	libcrypto_CFLAGS=-lcrypto libcrypto_LIBS=-lcrypto LOCALBASE=${LOCALBASE} ac_cv_header_bfd_h=yes
-USES=		gmake pkgconfig
+CONFIGURE_ENV=	libcrypto_CFLAGS=-lcrypto \
+		libcrypto_LIBS=-lcrypto \
+		LOCALBASE=${LOCALBASE} \
+		ac_cv_header_bfd_h=yes
+USES=		gmake localbase pkgconfig ssl
+LDFLAGS+=	-L${OPENSSLLIB}
+CFLAGS+=	-I${OPENSSLINC}
 
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
-BROKEN=		This port works only on FreeBSD 10 and newer
-.endif
+BROKEN_FreeBSD_9=	requires FreeBSD 10 or later
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|<endian.h>|<sys/endian.h>|' ${WRKSRC}/configure ${WRKSRC}/lib/ccan/ccan/hash/hash.c
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list