From owner-freebsd-ports Wed Nov 17 8:10: 5 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7817015278 for ; Wed, 17 Nov 1999 08:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA83241; Wed, 17 Nov 1999 08:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Wed, 17 Nov 1999 08:10:01 -0800 (PST) Message-Id: <199911171610.IAA83241@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Issei Suzuki Subject: Re: ports/14888: ports/security/bjorb build fails Reply-To: Issei Suzuki Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/14888; it has been noted by GNATS. From: Issei Suzuki To: vince@pele.WURLDLINK.NET Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/14888: ports/security/bjorb build fails Date: Thu, 18 Nov 1999 01:05:15 +0900 Here's a fix to the problem. diff -urN bjorb.old/Makefile bjorb/Makefile --- bjorb.old/Makefile Mon Nov 8 08:18:44 1999 +++ bjorb/Makefile Thu Nov 18 00:56:40 1999 @@ -35,9 +35,9 @@ INSTALL_TARGET= install certificate .endif -HAS_CONFIGURE= yes +USE_AUTOCONF= yes CFLAGS+= -I${PREFIX}/include/openssl -CONFIGURE_ARGS= --with-ssltop=${PREFIX} +CONFIGURE_ARGS= --with-ssltop=${PREFIX} --with-ssllib=${PREFIX}/lib WRKSRC= ${WRKDIR}/${DISTNAME}/src DOCSRC= ${WRKDIR}/${DISTNAME} DOCS= ChangeLog \ diff -urN bjorb.old/patches/patch-ac bjorb/patches/patch-ac --- bjorb.old/patches/patch-ac Thu Jan 1 09:00:00 1970 +++ bjorb/patches/patch-ac Thu Nov 18 00:56:40 1999 @@ -0,0 +1,37 @@ +--- configure.in.old Thu Nov 18 00:50:00 1999 ++++ configure.in Thu Nov 18 00:52:50 1999 +@@ -16,6 +16,7 @@ + prefix=$ac_default_prefix + fi + ssltop=$prefix/ssl ++ssllib=$prefix/ssl + + dnl Checks for programs. + AC_PROG_AWK +@@ -86,6 +87,13 @@ + + AC_SUBST(ssltop) + ++# with SSL lib ++AC_ARG_WITH(ssllib, ++[ --with-ssllib=DIR specifies directory to put SSL libbary.], ++ssllib=$with_ssllib) ++ ++AC_SUBST(ssllib) ++ + dnl Checks for libraries. + + # shared option +@@ -100,10 +108,10 @@ + + # for USA_RESIDENT on FreeBSD + if test X$disable_ssl = X; then +- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$ssltop/lib" ++ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$ssllib" + export LD_LIBRARY_PATH + +- AC_CHECK_LIB(RSAglue, ERR_load_RSAREF_strings,,,-lcrypto -lssl) ++ AC_CHECK_LIB(RSAglue, ERR_load_RSAREF_strings,,,-L$ssllib -lcrypto -lssl) + AC_CHECK_LIB(rsaref, DES3_CBCInit) + ssllibs="-lssl -lcrypto" + fi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message