summaryrefslogtreecommitdiff
path: root/net/ettercap
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-02-09 23:15:54 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-02-09 23:15:54 +0000
commitadd60685a7583642e9c0cd6e989271e7c9d54ece (patch)
treef97bc0fd6ab664464b40b4232ead3ac3c3e9c939 /net/ettercap
parentc1d205623f928ffaa24fe0afb82472a2abf922ea (diff)
downloadpkgsrc-add60685a7583642e9c0cd6e989271e7c9d54ece.tar.gz
reduce optimization on two problem files on alpha to avoid compiler bugs.
Diffstat (limited to 'net/ettercap')
-rw-r--r--net/ettercap/Makefile3
-rw-r--r--net/ettercap/distinfo4
-rw-r--r--net/ettercap/patches/patch-aa27
3 files changed, 25 insertions, 9 deletions
diff --git a/net/ettercap/Makefile b/net/ettercap/Makefile
index 08851c1b08a..18c192b8b2b 100644
--- a/net/ettercap/Makefile
+++ b/net/ettercap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2003/01/30 10:46:56 drochner Exp $
+# $NetBSD: Makefile,v 1.11 2003/02/09 23:15:54 dmcmahill Exp $
DISTNAME= ettercap-0.6.9
CATEGORIES= security net
@@ -16,6 +16,7 @@ USE_BUILDLINK2= yes
USE_NCURSES= # newpad(), MAX_FORM_COMMAND
PTHREAD_OPTS+= require
+MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
post-build:
cd ${WRKSRC}/plugins ; ${MAKE_ENV} ${MAKE} all
diff --git a/net/ettercap/distinfo b/net/ettercap/distinfo
index b16f30872b1..e339941c2a7 100644
--- a/net/ettercap/distinfo
+++ b/net/ettercap/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2003/01/30 10:46:57 drochner Exp $
+$NetBSD: distinfo,v 1.6 2003/02/09 23:15:54 dmcmahill Exp $
SHA1 (ettercap-0.6.9.tar.gz) = 2f70055af569cca75cf2460677229b7b4e4c38a5
Size (ettercap-0.6.9.tar.gz) = 681245 bytes
-SHA1 (patch-aa) = 50d559708ba4c89fd1848f379c57bc84ec424dfb
+SHA1 (patch-aa) = 4096f767a61e96788b7bee33f51948c9006cc665
SHA1 (patch-ab) = 107ef5dda9457313d7d939745a6a21dbe2b989ce
SHA1 (patch-ac) = 6771b96f36fa9439b0edf79e632f0d2f1125eecd
diff --git a/net/ettercap/patches/patch-aa b/net/ettercap/patches/patch-aa
index 87f71bd9d58..63c28bbfbda 100644
--- a/net/ettercap/patches/patch-aa
+++ b/net/ettercap/patches/patch-aa
@@ -1,13 +1,28 @@
-$NetBSD: patch-aa,v 1.3 2003/01/30 10:46:57 drochner Exp $
+$NetBSD: patch-aa,v 1.4 2003/02/09 23:15:55 dmcmahill Exp $
---- Makefile.in.orig Wed Jan 22 16:00:38 2003
-+++ Makefile.in Tue Jan 28 11:45:39 2003
-@@ -29,7 +29,7 @@
-
+--- Makefile.in.orig Wed Jan 22 10:00:38 2003
++++ Makefile.in Sun Feb 9 18:09:08 2003
+@@ -30,5 +30,5 @@
DEBUG = @DEBUG@
CFLAG = @E_CFLAGS@
-COPTS = -I. -Isrc/include @COPTS@ @GTK_CFLAGS@
+COPTS = -I. -Isrc/include -I${prefix}/include @COPTS@ @GTK_CFLAGS@
PROG = @PROG@
- VERSION = @VERSION@
+@@ -262,2 +262,16 @@
+
+ # vim:ts=4:noexpandtab
++
++COMPILE=$(CC) $(ALLOPT) $(DEFS) -c -o
++COMPILE_NOOPT=${COMPILE:C/-O[0-9]*//g}
++
++.if (${MACHINE_ARCH} == "alpha")
++# problem files for compiling with optimization
++
++./src/ec_inet.o: ./src/ec_inet.c
++ ${COMPILE_NOOPT} ./src/ec_inet.o ./src/ec_inet.c
++
++./src/ec_logtofile.o: ./src/ec_logtofile.c
++ ${COMPILE_NOOPT} ./src/ec_logtofile.o ./src/ec_logtofile.c
++
++.endif