mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
$NetBSD: patch-ab,v 1.2 2012/08/10 08:15:16 marino Exp $
|
|
|
|
--- src/configure.orig 2012-07-24 16:51:53.000000000 +0000
|
|
+++ src/configure
|
|
@@ -4567,6 +4567,16 @@ case "${host_os}" in
|
|
SONAME="${SHAREDPREFIX}ecl.${SHAREDEXT}.SOVERSION"
|
|
SONAME_LDFLAGS="-Wl,-soname,SONAME"
|
|
;;
|
|
+ dragonfly*)
|
|
+ thehost='dragonfly'
|
|
+ THREAD_LIBS='-lpthread'
|
|
+ SHARED_LDFLAGS="-shared ${LDFLAGS}"
|
|
+ BUNDLE_LDFLAGS="-shared ${LDFLAGS}"
|
|
+ ECL_LDRPATH="-Wl,--rpath,~A"
|
|
+ clibs=""
|
|
+ SONAME="${SHAREDPREFIX}ecl.${SHAREDEXT}.SOVERSION"
|
|
+ SONAME_LDFLAGS="-Wl,-soname,SONAME"
|
|
+ ;;
|
|
freebsd*)
|
|
thehost='freebsd'
|
|
THREAD_LIBS='-lpthread'
|
|
@@ -4606,10 +4616,12 @@ case "${host_os}" in
|
|
ECL_LDRPATH='-Wl,-R,~A'
|
|
TCPLIBS='-lsocket -lnsl -lintl'
|
|
clibs='-ldl'
|
|
+ SONAME="${SHAREDPREFIX}ecl.${SHAREDEXT}.SOVERSION"
|
|
+ SONAME_LDFLAGS="-Wl,-soname,SONAME"
|
|
# We should use C99 and _XOPEN_SOURCE=600, but Solaris 10
|
|
# ships with GCC 3.4.3 which does not support C99
|
|
if test "x$GCC" = "xyes"; then
|
|
- CFLAGS="${CFLAGS} -std=gnu99"
|
|
+ CFLAGS="${CFLAGS} -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
|
|
SHARED_LDFLAGS="-shared $SHARED_LDFLAGS"
|
|
BUNDLE_LDFLAGS="-shared $BUNDLE_LDFLAGS"
|
|
fi
|