Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 1999 08:10:01 -0800 (PST)
From:      Issei Suzuki <issei@jp.freebsd.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/14888: ports/security/bjorb build fails
Message-ID:  <199911171610.IAA83241@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/14888; it has been noted by GNATS.

From: Issei Suzuki <issei@jp.freebsd.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911171610.IAA83241>