freebsd-ports/net/DarwinStreamingServer/files/patch-Buildit
Norikatsu Shigemura 3347988835 o Fix build error on amd64. [1]
o Fix no response issue on some major environment. [2]
o Bump PORTREVISION to fix runtime issue.

Submitted by:	TAKANO Yuji <takachan@running-dog.net> [1]
Reported by:	Katsumi Kimoto <kimoto@miksys.com> [2]
2006-08-24 05:05:18 +00:00

32 lines
681 B
Text

--- Buildit.orig Fri Jul 14 18:36:35 2006
+++ Buildit Thu Aug 24 13:58:16 2006
@@ -100,20 +100,20 @@
fi
;;
- FreeBSD.i386)
+ FreeBSD.*)
echo "Configuring for the "$OSNAME" "$HARDWARENAME" platform"
- CPLUS=gcc
- CCOMP=gcc
- LINKER="gcc"
- MAKE=make
+ CPLUS=${CXX}
+ CCOMP=${CC}
+ LINKER=${CXX}
+ MAKE=${MAKE}
- COMPILER_FLAGS=
- INCLUDE_FLAG="-include"
+ COMPILER_FLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -fPIC -funsigned-char"
+ INCLUDE_FLAG="-include"
- CORE_LINK_LIBS="-pthread -lm -lcrypt"
+ CORE_LINK_LIBS="${PTHREAD_LIBS} -lm -lcrypt"
SHARED=-shared
- MODULE_LIBS="-lgcc -lstdc++"
+ MODULE_LIBS=""
;;
# SunOS.sun4m | \