Date: Sun, 21 Nov 1999 15:40:02 -0800 (PST) From: "Patrick Bihan-Faou" <patrick@mindstep.com> To: freebsd-ports@FreeBSD.org Subject: Re: ports/14885: ports/net/pipsecd build fails Message-ID: <199911212340.PAA38380@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/14885; it has been noted by GNATS. From: "Patrick Bihan-Faou" <patrick@mindstep.com> To: <freebsd-gnats-submit@freebsd.org>, <vince@pele.WURLDLINK.NET> Cc: Subject: Re: ports/14885: ports/net/pipsecd build fails Date: Sun, 21 Nov 1999 18:31:29 -0500 This is a multi-part message in MIME format. ------=_NextPart_000_001D_01BF344E.A0D880E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, I am the maintainer of that port. The reason the build fails is that the makefile does not reference some of the needed library for the final link. Note that the port already includes a patch for the Makefile. Attached are a patch the the port's patch (patch-aa) and the full patch itself as it should look. Thank you for commiting this quickly since other persons are likely to encounter the problem. Patrick. -- MindStep Corporation www.mindstep.com ------=_NextPart_000_001D_01BF344E.A0D880E0 Content-Type: application/octet-stream; name="pipsecd.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="pipsecd.patch" --- patches/patch-aa.orig Sun Nov 21 17:34:50 1999=0A= +++ patches/patch-aa Sun Nov 21 18:21:57 1999=0A= @@ -1,5 +1,5 @@=0A= --- Makefile.orig Thu Sep 16 17:44:50 1999=0A= -+++ Makefile Thu Oct 14 10:27:50 1999=0A= ++++ Makefile Sun Nov 21 18:20:53 1999=0A= @@ -6,10 +6,13 @@=0A= CLEANFILES=3D *.core *.o pipsecd=0A= =0A= @@ -21,7 +21,7 @@=0A= =0A= pipsecd: tunip.c defs.h=0A= - gcc -Wall -I$(INCDIR) -g $(OPTDEF) -o pipsecd tunip.c -L$(LIBDIR) = $(OPTLIB) -lcrypto=0A= -+ gcc -Wall $(INCDIR) -g $(OPTDEF) -o pipsecd tunip.c $(LIBDIR) = $(OPTLIB) -lcrypto $(DEFINES)=0A= ++ gcc -Wall $(INCDIR) -g $(OPTDEF) -o pipsecd tunip.c $(LIBDIR) = $(OPTLIB) -lcrypto -lRSAglue -lrsaref $(DEFINES)=0A= =0A= install: pipsecd=0A= - install pipsecd /usr/local/sbin/=0A= ------=_NextPart_000_001D_01BF344E.A0D880E0 Content-Type: application/octet-stream; name="patch-aa" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patch-aa" --- Makefile.orig Thu Sep 16 17:44:50 1999=0A= +++ Makefile Sun Nov 21 18:20:53 1999=0A= @@ -6,10 +6,13 @@=0A= CLEANFILES=3D *.core *.o pipsecd=0A= =0A= # Where your OpenSSL includes are located=0A= -INCDIR=3D/usr/local/ssl/include=0A= +INCDIR=3D-I$(PREFIX)/include/openssl -I$(PREFIX)/include=0A= =0A= # Where your libcrypto is located=0A= -LIBDIR=3D/usr/local/ssl/lib=0A= +LIBDIR=3D-L$(PREFIX)/lib=0A= +=0A= +# Misc defines=0A= +DEFINES=3D-DFILE_PREFIX=3D\"$(PREFIX)\"=0A= =0A= # Optional: use FreeBSD's libmd=0A= #OPTLIB +=3D -lmd=0A= @@ -19,10 +22,10 @@=0A= #OPTDEF +=3D -DUSE_ETHERTAP=0A= =0A= pipsecd: tunip.c defs.h=0A= - gcc -Wall -I$(INCDIR) -g $(OPTDEF) -o pipsecd tunip.c -L$(LIBDIR) = $(OPTLIB) -lcrypto=0A= + gcc -Wall $(INCDIR) -g $(OPTDEF) -o pipsecd tunip.c $(LIBDIR) = $(OPTLIB) -lcrypto -lRSAglue -lrsaref $(DEFINES)=0A= =0A= install: pipsecd=0A= - install pipsecd /usr/local/sbin/=0A= + install pipsecd $(PREFIX)/sbin/=0A= =0A= tar:=0A= tar cfvz tunip.tar.gz $(DISTFILES)=0A= ------=_NextPart_000_001D_01BF344E.A0D880E0-- 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?199911212340.PAA38380>