Date: Sun, 7 Jul 2019 19:16:09 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506191 - head/archivers/unrar Message-ID: <201907071916.x67JG98R095413@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Jul 7 19:16:09 2019 New Revision: 506191 URL: https://svnweb.freebsd.org/changeset/ports/506191 Log: Fix build on powerpc PR: 239008 Submitted by: pkubaj Modified: head/archivers/unrar/Makefile Modified: head/archivers/unrar/Makefile ============================================================================== --- head/archivers/unrar/Makefile Sun Jul 7 19:16:04 2019 (r506190) +++ head/archivers/unrar/Makefile Sun Jul 7 19:16:09 2019 (r506191) @@ -17,6 +17,8 @@ LICENSE_FILE= ${WRKSRC}/license.txt LICENSE_NAME= UnRAR license LICENSE_PERMS= auto-accept dist-mirror pkg-mirror +USES= compiler:c++11-lang + OPTIONS_DEFINE= OPENSSL_AES OPTIONS_DEFAULT=OPENSSL_AES OPENSSL_AES_DESC= Use OpenSSL implementation of AES @@ -33,10 +35,16 @@ PLIST_FILES= bin/unrar SLAVEDIRS= archivers/unrar-iconv OPENSSL_AES_CPPFLAGS= -DOPENSSL_AES -I${OPENSSLINC} -OPENSSL_AES_LDFLAGS= -L${OPENSSLLIB} -lcrypto +OPENSSL_AES_LDFLAGS= -lcrypto OPENSSL_AES_USES= ssl +.include <bsd.port.pre.mk> + +.if ${PORT_OPTIONS:MOPENSSL_AES} && ${OPENSSLLIB} != "/usr/lib" +LDFLAGS+ -L${OPENSSLLIB} +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/unrar ${STAGEDIR}${PREFIX}/bin/ -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907071916.x67JG98R095413>