Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2017 12:38:35 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457047 - head/security/acme-client
Message-ID:  <201712231238.vBNCcZQa054838@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brnrd
Date: Sat Dec 23 12:38:35 2017
New Revision: 457047
URL: https://svnweb.freebsd.org/changeset/ports/457047

Log:
  security/acme-client: Unbreak build
  
  PR:		223692
  Reported by:	madpilot@
  MFH:		2017Q4

Modified:
  head/security/acme-client/Makefile

Modified: head/security/acme-client/Makefile
==============================================================================
--- head/security/acme-client/Makefile	Sat Dec 23 12:37:01 2017	(r457046)
+++ head/security/acme-client/Makefile	Sat Dec 23 12:38:35 2017	(r457047)
@@ -50,16 +50,16 @@ post-install:
 .include <bsd.port.pre.mk>
 
 .if ! ${SSL_DEFAULT:Mlibressl*}
-BUILD_DEPENDS+=		${NONEXISTENT}:security/libressl:stage
-CPPFLAGS+=		-I${WRKDIR}/libressl/include
-LDFLAGS+=		-L${WRKDIR}/libressl/lib
 . ifnmake describe
 STAGEDIR_libressl!=	${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/libressl
 . endif
-
-pre-configure:
-	(cd ${STAGEDIR_libressl}${LOCALBASE} && ${COPYTREE_SHARE} \
-		. ${WRKDIR}/libressl "! -name *.so*")
+BUILD_DEPENDS+=	${NONEXISTENT}:security/libressl:stage
+CPPFLAGS+=	-I${STAGEDIR_libressl}${LOCALBASE}/include
+LDFLAGS+=	${STAGEDIR_libressl}${LOCALBASE}/lib/libtls.a \
+		${STAGEDIR_libressl}${LOCALBASE}/lib/libssl.a \
+		${STAGEDIR_libressl}${LOCALBASE}/lib/libcrypto.a
+post-configure:
+	${REINPLACE_CMD} 's/-l[a-z]*//g' ${WRKSRC}/GNUmakefile 
 .endif # SSL_DEFAULT
 
 .include <bsd.port.post.mk>



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