Date: 9 Feb 2000 17:41:43 +0100 From: naddy@mips.rhein-neckar.de (Christian Weisgerber) To: freebsd-ports@freebsd.org Subject: Re: ports/16589: w3m-ssl fails on 3.4-stable [non-usa] Message-ID: <87s5c7$b89$1@bigeye.rhein-neckar.de> References: <200002090004.BAA78937@btl.42.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Stefan `Sec` Zehl <sec@42.org> wrote: > >Number: 16589 > >Category: ports > >Synopsis: w3m-ssl fails on 3.4-stable [non-usa] > > The w3m-ssl build fails with: > > [...] > cc -O -pipe -I/usr/local/include/openssl -I/usr/local/include > -I/usr/local/include -I. -o mktable mktable.o hash.o -L/usr/local/lib > -lssl -lcrypto -lRSAglue -lrsaref -L/usr/local/lib -L. -lindep -lgc -lm > -lncurses > /usr/libexec/elf/ld: cannot open -lrsaref: No such file or directory > *** Error code 1 Here's a fix: --- /usr/ports/www/w3m/Makefile Mon Feb 7 03:01:08 2000 +++ w3m/Makefile Mon Feb 7 03:41:42 2000 @@ -50,9 +50,11 @@ SED_CMD+= -e "s,undef USE_SSL,define USE_SSL,g" .endif -EXTRA_SSL_LIBS= -lRSAglue -lrsaref -L${LOCALBASE}/lib +.if defined(OPENSSL_RSAREF) +EXTRA_SSL_LIBS= -lRSAglue -lrsaref +.endif MAKE_FLAGS+= DEFS="${SSL_CFLAGS} -I${LOCALBASE}/include" \ - LIBS="${SSL_LIBS} ${EXTRA_SSL_LIBS}" + LIBS="-L${LOCALBASE}/lib ${SSL_LIBS} ${EXTRA_SSL_LIBS}" post-configure: @${CP} ${TARGET} ${TARGET}.in -- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87s5c7$b89$1>