mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 21:20:31 -04:00
and causes build problems for qemu-devel. Submitted by: David O'Brien <obrien@FreeBSD.org> (slightly modified)
19 lines
603 B
Text
19 lines
603 B
Text
--- makefile.orig 2008-06-06 15:00:46.000000000 +0200
|
|
+++ makefile 2009-01-12 21:12:48.000000000 +0100
|
|
@@ -9,13 +9,13 @@
|
|
ifneq (,$(findstring darwin,$(OSTYPE)))
|
|
OS_CCDEFS = -D_GNU_SOURCE
|
|
else
|
|
- OS_CCDEFS = -lrt -lm -D_GNU_SOURCE
|
|
+ OS_CCDEFS = -lm -D_GNU_SOURCE
|
|
endif
|
|
endif
|
|
- CC = gcc -std=c99 -U__STRICT_ANSI__ -g $(OS_CCDEFS) -I .
|
|
+ CC += ${CFLAGS} $(OS_CCDEFS) -I .
|
|
ifeq ($(USE_NETWORK),)
|
|
else
|
|
- NETWORK_OPT = -DUSE_NETWORK -isystem /usr/local/include /usr/local/lib/libpcap.a
|
|
+ NETWORK_OPT = -DUSE_NETWORK -lpcap
|
|
endif
|
|
else
|
|
#Win32 Environments
|