aboutsummaryrefslogtreecommitdiff
path: root/security/bjorb
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-02-06 21:38:29 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-02-06 21:38:29 +0000
commitc20fdcd69fac390dd270f054e93541ad42430336 (patch)
treeb952ebabc6a43eb4411e82d79f4298967525b315 /security/bjorb
parent11ec87305ccf28f222f228d5e862bb7278135824 (diff)
downloadports-c20fdcd69fac390dd270f054e93541ad42430336.tar.gz
ports-c20fdcd69fac390dd270f054e93541ad42430336.zip
Notes
Diffstat (limited to 'security/bjorb')
-rw-r--r--security/bjorb/Makefile24
-rw-r--r--security/bjorb/files/patch-ac2
2 files changed, 5 insertions, 21 deletions
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")