svn commit: r542088 - head/devel/libopkele

Alexey Dokuchaev danfe at FreeBSD.org
Sun Jul 12 18:25:59 UTC 2020


Author: danfe
Date: Sun Jul 12 18:25:59 2020
New Revision: 542088
URL: https://svnweb.freebsd.org/changeset/ports/542088

Log:
  Pass down correct OpenSSL includes/libraries knobs so consumers, e.g.
  `www/mod_auth_openid', can build properly.
  
  Reported by:	joneum

Modified:
  head/devel/libopkele/Makefile

Modified: head/devel/libopkele/Makefile
==============================================================================
--- head/devel/libopkele/Makefile	Sun Jul 12 15:42:44 2020	(r542087)
+++ head/devel/libopkele/Makefile	Sun Jul 12 18:25:59 2020	(r542088)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libopkele
 PORTVERSION=	2.0.4
-PORTREVISION=	18
+PORTREVISION=	19
 CATEGORIES=	devel
 MASTER_SITES=	http://kin.klever.net/dist/
 
@@ -28,7 +28,11 @@ USES=		gmake libtool localbase:ldflags pathfix \
 		pkgconfig ssl
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	"OPENSSL_CFLAGS=${CFLAGS} -l${OPENSSLINC}" \
-		OPENSSL_LIBS=-L${OPENSSLLIB}
+CONFIGURE_ENV=	OPENSSL_CFLAGS="-I${OPENSSLINC}" \
+		OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto"
+
+post-patch:
+	@${REINPLACE_CMD} -e "/^Requires:/s,openssl ,," \
+		${WRKSRC}/libopkele.pc.in
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list