From c35c9933e80756c32fb87b8017893dd30c7cbc4a Mon Sep 17 00:00:00 2001 From: Jacques Vidrine Date: Fri, 21 Feb 2003 16:18:58 +0000 Subject: -- Remove libgmp dependency. It's not used (openssl BN is used). -- We don't have anymore. Use . --- security/isakmpd/Makefile | 2 -- security/isakmpd/files/patch-Makefile.sysdep | 11 +++++++++++ security/isakmpd/files/patch-crypto.h | 12 ++++++++++++ 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 security/isakmpd/files/patch-Makefile.sysdep create mode 100644 security/isakmpd/files/patch-crypto.h (limited to 'security/isakmpd') diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile index ea98b126dd45..88cbde6de2b2 100644 --- a/security/isakmpd/Makefile +++ b/security/isakmpd/Makefile @@ -17,8 +17,6 @@ MASTER_SITE_SUBDIR= LOCAL_PORTS MAINTAINER= ports@FreeBSD.org COMMENT= OpenBSD IKE daemon -LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 - # this is not compatible with cross build - there's no other way .if !exists(/usr/include/netinet6/ipsec.h) BROKEN= "requires IPsec support" diff --git a/security/isakmpd/files/patch-Makefile.sysdep b/security/isakmpd/files/patch-Makefile.sysdep new file mode 100644 index 000000000000..21d994fef786 --- /dev/null +++ b/security/isakmpd/files/patch-Makefile.sysdep @@ -0,0 +1,11 @@ +--- sysdep/freebsd/Makefile.sysdep.orig Fri Feb 21 10:14:47 2003 ++++ sysdep/freebsd/Makefile.sysdep Thu Aug 29 01:39:36 2002 +@@ -42,7 +42,7 @@ + LIBSYSDEPDIR= ${.CURDIR}/sysdep/common/libsysdep + .endif + +-LDADD+= -lgmp ${LIBSYSDEPDIR}/libsysdep.a -lipsec -L/usr/local/lib ++LDADD+= ${LIBSYSDEPDIR}/libsysdep.a -lipsec -L/usr/local/lib + DPADD+= ${LIBGMP} ${LIBSYSDEPDIR}/libsysdep.a + + CFLAGS+= -DHAVE_GETNAMEINFO -DHAVE_GETIFADDRS \ diff --git a/security/isakmpd/files/patch-crypto.h b/security/isakmpd/files/patch-crypto.h new file mode 100644 index 000000000000..5e72d19b6124 --- /dev/null +++ b/security/isakmpd/files/patch-crypto.h @@ -0,0 +1,12 @@ +--- crypto.h.orig Fri Feb 21 10:11:51 2003 ++++ crypto.h Fri Feb 21 10:11:58 2003 +@@ -49,7 +49,8 @@ + + #else + +-#include ++#define OPENSSL_DES_LIBDES_COMPATIBILITY ++#include + #ifdef USE_BLOWFISH + #include + #endif -- cgit v1.2.3