Date: Sun, 8 Nov 2020 23:42:10 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r554659 - branches/2020Q4/security/titus Message-ID: <202011082342.0A8NgAiJ054242@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Sun Nov 8 23:42:10 2020 New Revision: 554659 URL: https://svnweb.freebsd.org/changeset/ports/554659 Log: MFH: r554658 security/titus: fix build on GCC architectures Linking fails when passing -L/usr/lib when gcc9 is used because /usr/lib/ is taken over gcc9's libs. Approved by: portmgr (fix build blanket) Modified: branches/2020Q4/security/titus/Makefile Directory Properties: branches/2020Q4/ (props changed) Modified: branches/2020Q4/security/titus/Makefile ============================================================================== --- branches/2020Q4/security/titus/Makefile Sun Nov 8 23:41:23 2020 (r554658) +++ branches/2020Q4/security/titus/Makefile Sun Nov 8 23:42:10 2020 (r554659) @@ -24,10 +24,13 @@ USERS= titus titus-keys GROUPS= nogroup MAKE_ENV+= MANDIR=${MANPREFIX}/man -CFLAGS+= -I${OPENSSLINC} -LDFLAGS+= -L${OPENSSLLIB} .include <bsd.port.pre.mk> + +.if ${SSL_DEFAULT} != base +CFLAGS+= -I${OPENSSLINC} +LDFLAGS+= -L${OPENSSLLIB} +.endif post-patch: ${REINPLACE_CMD} 's|/var/lib/titus/empty|/var/empty|' ${WRKSRC}/titus.conf.example
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011082342.0A8NgAiJ054242>