diff options
author | Max Khon <fjoe@FreeBSD.org> | 2006-11-14 04:33:04 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2006-11-14 04:33:04 +0000 |
commit | 521ebc7ce91e32221db9823870a87b850b38ca43 (patch) | |
tree | 4c9efc8dff0d7a63f8dad6184e717e0788d63e86 /emulators/dynamips/files/patch-Makefile | |
parent | Remove LIB_DEPENDS if we link with libpcap from ports. (diff) |
Fix the build on RLEENG_4.
Notes
Notes:
svn path=/head/; revision=177207
Diffstat (limited to 'emulators/dynamips/files/patch-Makefile')
-rw-r--r-- | emulators/dynamips/files/patch-Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/dynamips/files/patch-Makefile b/emulators/dynamips/files/patch-Makefile index 088a8e3cced2..8f90939acbd7 100644 --- a/emulators/dynamips/files/patch-Makefile +++ b/emulators/dynamips/files/patch-Makefile @@ -1,5 +1,5 @@ --- Makefile.orig Thu Sep 14 17:59:13 2006 -+++ Makefile Wed Oct 18 22:38:24 2006 ++++ Makefile Tue Nov 14 10:27:26 2006 @@ -12,6 +12,9 @@ # (WinPcap is used for Cygwin) HAS_PCAP?=1 @@ -28,7 +28,7 @@ - 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) ++ LIBS=-L$(LOCALBASE)/lib -L. -lelf $(PTHREAD_LIBS) $(LDFLAGS) else ifeq ($(shell uname -s), Darwin) CFLAGS+=-I/usr/local/include -mdynamic-no-pic |