aboutsummaryrefslogtreecommitdiff
path: root/emulators/dynamips-devel/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/dynamips-devel/files/patch-Makefile')
-rw-r--r--emulators/dynamips-devel/files/patch-Makefile31
1 files changed, 0 insertions, 31 deletions
diff --git a/emulators/dynamips-devel/files/patch-Makefile b/emulators/dynamips-devel/files/patch-Makefile
deleted file mode 100644
index 42cbc60faef4..000000000000
--- a/emulators/dynamips-devel/files/patch-Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
---- Makefile.orig Tue Feb 14 23:54:17 2006
-+++ Makefile Wed Mar 8 22:54:11 2006
-@@ -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=0.2.4
-
-@@ -25,14 +28,15 @@
- CFLAGS+=-g -Wall -O3 -fomit-frame-pointer -DJIT_ARCH=\"$(DYNAMIPS_ARCH)\" \
- -DARCH_INC_FILE=$(ARCH_INC_FILE) -DDYNAMIPS_VERSION=\"$(VERSION)\" \
- -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE \
-- -DHAS_RFC2553=$(HAS_RFC2553)
-+ -DHAS_RFC2553=$(HAS_RFC2553) -DHAS_POSIX_MEMALIGN=$(HAS_POSIX_MEMALIGN)
-
- PCAP_LIB=-lpcap
-
- ifeq ($(shell uname), FreeBSD)
- PTHREAD_LIBS?=-pthread
-- CFLAGS+=-I/usr/local/include -I/usr/local/include/libelf $(PTHREAD_CFLAGS)
-- LIBS=-L/usr/local/lib -L. -lelf $(PTHREAD_LIBS)
-+ LOCALBASE?=/usr/local
-+ CFLAGS+=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/libelf $(PTHREAD_CFLAGS)
-+ LIBS=-L$(LOCALBASE)/lib -L. -lelf $(PTHREAD_LIBS)
- else
- ifeq ($(shell uname -s), Darwin)
- CFLAGS+=-I/usr/local/include