Date: Sat, 17 Dec 2016 18:30:28 -0600 From: John Marino <freebsd.contact@marino.st> To: Adam Weinberger <adamw@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r428809 - head/irc/ircII Message-ID: <03711abb-01fd-274d-2a08-50c76cd162c2@marino.st> In-Reply-To: <201612172230.uBHMUkAo015155@repo.freebsd.org> References: <201612172230.uBHMUkAo015155@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/17/2016 16:30, Adam Weinberger wrote: > Author: adamw > Date: Sat Dec 17 22:30:45 2016 > New Revision: 428809 > URL: https://svnweb.freebsd.org/changeset/ports/428809 > > Log: > Fix build against SSL from ports. The -L${ICONV_PREFIX}/lib prevents > cc from finding the correct libcrypto/libssl, so quick-fix this by > only adding -L${ICONV_PREFIX}/lib if it's something other than /usr/lib. > > Also, use USES=ssl. PORTREVISION bump for the potential ldd change. > > Modified: > head/irc/ircII/Makefile > > Modified: head/irc/ircII/Makefile > ============================================================================== > --- head/irc/ircII/Makefile Sat Dec 17 21:54:49 2016 (r428808) > +++ head/irc/ircII/Makefile Sat Dec 17 22:30:45 2016 (r428809) > @@ -3,6 +3,7 @@ > > PORTNAME= ircii > PORTVERSION= 20151120 > +PORTREVISION= 1 > CATEGORIES= irc ipv6 > MASTER_SITES= http://ircii.warped.com/ > > @@ -23,7 +24,7 @@ IRCBUG_DESC= Install ircII bug-reporting > EMACS_KEYS_DESC=Use emacs meta keys > > EMACS_KEYS_CONFIGURE_WITH= emacs-meta-keys > -OPENSSL_USE= OPENSSL=yes > +OPENSSL_USES= ssl > > .include <bsd.port.pre.mk> > > @@ -33,8 +34,10 @@ CONFIGURE_ARGS+= --with-openssl=${OPENSS > CONFIGURE_ARGS+= --without-openssl > .endif > > +.if ${ICONV_PREFIX} != /usr > CPPFLAGS+= -I${ICONV_PREFIX}/include > LDFLAGS+= -L${ICONV_PREFIX}/lib > +.endif > > post-patch: > @${REINPLACE_CMD} -e '/^mandir =/s/@mandir@/$${DESTDIR}&/' \ > I don't think ICONV_PREFIX is a factor. You probably just need: OPENSSL_CPPFLAGS= -I${OPENSSLINC} OPENSSL_LDFLAGS= -L${OPENSSLLIB} Try removing what you added and use these option helpers instead. John --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03711abb-01fd-274d-2a08-50c76cd162c2>