diff options
-rw-r--r-- | net-misc/freeswan/files/freeswan-libdes-location.patch | 17 | ||||
-rw-r--r-- | net-misc/freeswan/freeswan-1.97.ebuild | 4 |
2 files changed, 20 insertions, 1 deletions
diff --git a/net-misc/freeswan/files/freeswan-libdes-location.patch b/net-misc/freeswan/files/freeswan-libdes-location.patch new file mode 100644 index 000000000000..da9d35b86d31 --- /dev/null +++ b/net-misc/freeswan/files/freeswan-libdes-location.patch @@ -0,0 +1,17 @@ +--- freeswan-1.97/libdes/Makefile 2002-04-01 16:48:03.000000000 -0500 ++++ freeswan-gentoo/libdes/Makefile 2002-05-23 15:49:15.000000000 -0400 +@@ -63,10 +63,10 @@ + #DES_ENC=asm/dx86-sol.o asm/yx86-sol.o # solaris format x86 + #DES_ENC=asm/dx86bsdi.o asm/yx86basi.o # bsdi format x86 + +-LIBDIR=${DESTDIR}/usr/local/lib +-BINDIR=${DESTDIR}/usr/local/bin +-INCDIR=${DESTDIR}/usr/local/include +-MANDIR=${DESTDIR}/usr/local/man ++LIBDIR=${DESTDIR}/usr/lib ++BINDIR=${DESTDIR}/usr/bin ++INCDIR=${DESTDIR}/usr/include ++MANDIR=${DESTDIR}/usr/share/man + MAN1=1 + MAN3=3 + SHELL=/bin/sh diff --git a/net-misc/freeswan/freeswan-1.97.ebuild b/net-misc/freeswan/freeswan-1.97.ebuild index 4add1533689d..dfa24d5304fa 100644 --- a/net-misc/freeswan/freeswan-1.97.ebuild +++ b/net-misc/freeswan/freeswan-1.97.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-misc/freeswan/freeswan-1.97.ebuild,v 1.1 2002/05/23 19:37:31 ashmodai Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/freeswan/freeswan-1.97.ebuild,v 1.2 2002/05/23 19:53:36 ashmodai Exp $ S=${WORKDIR}/freeswan-1.97 DESCRIPTION="FreeS/WAN IPSec Userspace Utilities" @@ -24,6 +24,8 @@ pkg_setup() { src_compile() { + patch -p1 < ${FILESDIR}/freeswan-libdes-location.patch || die + make \ DESTDIR=${D} \ USERCOMPILE="${CFLAGS}" \ |