From c20fdcd69fac390dd270f054e93541ad42430336 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 6 Feb 2000 21:38:29 +0000 Subject: USE_OPENSSL Assisted by: Jim Bloom A --- security/bjorb/Makefile | 24 ++++-------------------- security/bjorb/files/patch-ac | 2 +- 2 files changed, 5 insertions(+), 21 deletions(-) (limited to 'security/bjorb') diff --git a/security/bjorb/Makefile b/security/bjorb/Makefile index aad973c2f153..3fe97b26dca2 100644 --- a/security/bjorb/Makefile +++ b/security/bjorb/Makefile @@ -12,32 +12,16 @@ MASTER_SITES= ftp://ftp.hitachi-ms.co.jp/pub/bjorb/ MAINTAINER= issei@jp.FreeBSD.org -.if defined(USA_RESIDENT) && ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO -pre-fetch: - @${ECHO} - @${ECHO} You must set variable USA_RESIDENT to YES, if you are USA resident - @${ECHO} or to NO, if you aren\'t USA resident to build this package. - @${ECHO} You must also have installed RSAREF if you are USA resident. - @${FALSE} -.elif defined(USA_RESIDENT) -.if ${USA_RESIDENT} == YES -LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref -.endif -.endif -BUILD_DEPENDS= openssl:${PORTSDIR}/security/openssl -LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl \ - ssl.1:${PORTSDIR}/security/openssl -RUN_DEPENDS= openssl:${PORTSDIR}/security/openssl - -RESTRICTED= "Cryptography" +USE_OPENSSL= RSA .if !defined(BATCH) INSTALL_TARGET= install certificate .endif USE_AUTOCONF= yes -CFLAGS+= -I${PREFIX}/include/openssl -CONFIGURE_ARGS= --with-ssltop=${PREFIX} --with-ssllib=${PREFIX}/lib +CFLAGS+= -I${OPENSSLINC}/openssl +CONFIGURE_ARGS= --with-ssltop=${OPENSSLBASE} --with-ssllib=${OPENSSLLIB} +CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} WRKSRC= ${WRKDIR}/${DISTNAME}/src DOCSRC= ${WRKDIR}/${DISTNAME} DOCS= ChangeLog \ diff --git a/security/bjorb/files/patch-ac b/security/bjorb/files/patch-ac index 36933f82a817..3d51b891b711 100644 --- a/security/bjorb/files/patch-ac +++ b/security/bjorb/files/patch-ac @@ -35,7 +35,7 @@ - ssllibs="-lssl -lcrypto" + AC_MSG_CHECKING([for RSAref library]) + saved_LIBS="-L$ssllib -lcrypto -lssl" -+ LIBS="$saved_LIBS -lRSAglue -lrsaref" ++ LIBS="$saved_LIBS -L${LOCALBASE}/lib -lRSAglue -lrsaref" + AC_TRY_LINK([], [], + [AC_MSG_RESULT(yes); ], + [AC_MSG_RESULT(no)]; LIBS="$saved_LIBS") -- cgit v1.2.3