svn commit: r421864 - head/sysutils/dmg2img

John Marino marino at FreeBSD.org
Sun Sep 11 18:42:53 UTC 2016


Author: marino
Date: Sun Sep 11 18:42:51 2016
New Revision: 421864
URL: https://svnweb.freebsd.org/changeset/ports/421864

Log:
  sysutils/dmg2img: Document SSL requirement and honor its flags
  
  Approved by:	SSL blanket

Modified:
  head/sysutils/dmg2img/Makefile

Modified: head/sysutils/dmg2img/Makefile
==============================================================================
--- head/sysutils/dmg2img/Makefile	Sun Sep 11 18:19:44 2016	(r421863)
+++ head/sysutils/dmg2img/Makefile	Sun Sep 11 18:42:51 2016	(r421864)
@@ -9,12 +9,15 @@ MASTER_SITES=	http://vu1tur.eu.org/tools
 MAINTAINER=	vg at FreeBSD.org
 COMMENT=	DMG2IMG convert tool
 
+USES=		ssl
 PLIST_FILES=	bin/${PORTNAME} \
 		bin/vfdecrypt
 
 pre-configure:
 	${REINPLACE_CMD} -e 's|%%PREFIX%%|${STAGEDIR}${PREFIX}/bin|g' \
-		${WRKSRC}/Makefile
+		-e "s|\(CFLAGS =\)|\1 -I${OPENSSLINC} |g" \
+		-e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" ${WRKSRC}/Makefile
+
 post-build:
 	${MAKE} -C ${WRKSRC} install
 


More information about the svn-ports-head mailing list