summaryrefslogtreecommitdiff
path: root/emulators/dynamips/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/dynamips/files/patch-Makefile')
-rw-r--r--emulators/dynamips/files/patch-Makefile35
1 files changed, 0 insertions, 35 deletions
diff --git a/emulators/dynamips/files/patch-Makefile b/emulators/dynamips/files/patch-Makefile
deleted file mode 100644
index f5ef297cafed..000000000000
--- a/emulators/dynamips/files/patch-Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
---- Makefile.orig Thu Feb 8 15:23:36 2007
-+++ Makefile Thu Feb 8 15:34:39 2007
-@@ -12,6 +12,9 @@
- # (WinPcap is used for Cygwin)
- HAS_PCAP?=1
-
-+# Change this to 1 if your system has posix_memalign
-+HAS_POSIX_MEMALIGN?=0
-+
- # Current dynamips release
- VERSION_TRAIN=0.2.7
- VERSION_SUB=
-@@ -34,16 +37,17 @@
- -DJIT_ARCH=\"$(DYNAMIPS_ARCH)\" \
- -DARCH_INC_FILE=$(ARCH_INC_FILE) -DDYNAMIPS_VERSION=\"$(VERSION)\" \
- -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE \
-- -DHAS_RFC2553=$(HAS_RFC2553)
-+ -DHAS_RFC2553=$(HAS_RFC2553) -DHAS_POSIX_MEMALIGN=$(HAS_POSIX_MEMALIGN)
-
--PCAP_LIB=/usr/local/lib/libpcap.a
--#PCAP_LIB=-lpcap
-+#PCAP_LIB=/usr/local/lib/libpcap.a
-+PCAP_LIB=-lpcap
-
- ifeq ($(shell uname), FreeBSD)
- PTHREAD_LIBS?=-pthread
-- CFLAGS+=-I/usr/local/include -I/usr/local/include/libelf $(PTHREAD_CFLAGS) \
-+ LOCALBASE?=/usr/local
-+ CFLAGS+=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/libelf $(PTHREAD_CFLAGS) \
- -D_FILE_OFFSET_BITS=64
-- LIBS=-L/usr/local/lib -L. -lelf $(PTHREAD_LIBS)
-+ LIBS=-L$(LOCALBASE)/lib -L. -lelf $(PTHREAD_LIBS) $(LDFLAGS)
- else
- ifeq ($(shell uname), Linux)
- PTHREAD_LIBS?=-lpthread