Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2016 03:57:13 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421657 - head/sysutils/sbsigntool
Message-ID:  <201609100357.u8A3vDEE025610@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609100357.u8A3vDEE025610>