Index: head/sysutils/sbsigntool/Makefile =================================================================== --- head/sysutils/sbsigntool/Makefile (revision 421656) +++ head/sysutils/sbsigntool/Makefile (revision 421657) @@ -1,34 +1,34 @@ # Created by: Edward Tomasz Napierala # $FreeBSD$ PORTNAME= sbsigntool PORTVERSION= 0.6 CATEGORIES= sysutils MASTER_SITES= https://launchpad.net/ubuntu/+archive/primary/+files/ DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= ports@FreeBSD.org COMMENT= Signing utility for UEFI secure boot LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/lib/libgnuefi.a:devel/gnu-efi \ help2man:misc/help2man 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 +BROKEN_FreeBSD_9= requires FreeBSD 10 or later -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -BROKEN= This port works only on FreeBSD 10 and newer -.endif - post-patch: @${REINPLACE_CMD} -e 's|||' ${WRKSRC}/configure ${WRKSRC}/lib/ccan/ccan/hash/hash.c -.include +.include