diff options
author | schmonz <schmonz@pkgsrc.org> | 2018-05-28 12:00:39 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2018-05-28 12:00:39 +0000 |
commit | d3f7928f4f8c56af2a43d06dbdb34272c20d4520 (patch) | |
tree | c9ad003bcace45930ac44f48a41bdb1fbe042c78 /sysutils/fdtools/patches | |
parent | 1e125c6d7c2d3f83e383a8a30a96319a325e5ac6 (diff) | |
download | pkgsrc-d3f7928f4f8c56af2a43d06dbdb34272c20d4520.tar.gz |
Link with -lsocket on SunOS.
Diffstat (limited to 'sysutils/fdtools/patches')
-rw-r--r-- | sysutils/fdtools/patches/patch-conf-compile_defaults_host__compile.sh | 6 | ||||
-rw-r--r-- | sysutils/fdtools/patches/patch-conf-compile_defaults_host__link.sh | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/fdtools/patches/patch-conf-compile_defaults_host__compile.sh b/sysutils/fdtools/patches/patch-conf-compile_defaults_host__compile.sh index 80cdbfaac3d..ae118c27ca6 100644 --- a/sysutils/fdtools/patches/patch-conf-compile_defaults_host__compile.sh +++ b/sysutils/fdtools/patches/patch-conf-compile_defaults_host__compile.sh @@ -1,13 +1,13 @@ -$NetBSD: patch-conf-compile_defaults_host__compile.sh,v 1.1 2017/10/03 00:43:22 schmonz Exp $ +$NetBSD: patch-conf-compile_defaults_host__compile.sh,v 1.2 2018/05/28 12:00:39 schmonz Exp $ Find skalibs. ---- conf-compile/defaults/host_compile.sh.orig 2015-03-28 22:14:58.000000000 +0000 +--- conf-compile/defaults/host_compile.sh.orig 2015-03-28 22:14:58.219617961 +0000 +++ conf-compile/defaults/host_compile.sh @@ -4,5 +4,5 @@ # create, respectively. The arguments are -I search directives; make sure to # include them in the compilation command. -gcc -O2 ${1+"$@"} -c "${input?}" -o "${output?}" \ -+gcc -O2 -I ${PREFIX}/include ${1+"$@"} -c "${input?}" -o "${output?}" \ ++gcc ${CFLAGS} ${CPPFLAGS} ${1+"$@"} -c "${input?}" -o "${output?}" \ -Wall -W -Wpointer-arith -Wcast-align -Wwrite-strings diff --git a/sysutils/fdtools/patches/patch-conf-compile_defaults_host__link.sh b/sysutils/fdtools/patches/patch-conf-compile_defaults_host__link.sh index 3fa22cb50e4..ee84e497f26 100644 --- a/sysutils/fdtools/patches/patch-conf-compile_defaults_host__link.sh +++ b/sysutils/fdtools/patches/patch-conf-compile_defaults_host__link.sh @@ -1,12 +1,12 @@ -$NetBSD: patch-conf-compile_defaults_host__link.sh,v 1.1 2017/10/03 00:43:22 schmonz Exp $ +$NetBSD: patch-conf-compile_defaults_host__link.sh,v 1.2 2018/05/28 12:00:39 schmonz Exp $ Find skalibs. ---- conf-compile/defaults/host_link.sh.orig 2015-03-28 22:14:58.000000000 +0000 +--- conf-compile/defaults/host_link.sh.orig 2015-03-28 22:14:58.223617960 +0000 +++ conf-compile/defaults/host_link.sh @@ -3,4 +3,4 @@ # variable $output names the library file to create. The arguments are -L # search directives and the input object files and libraries. -gcc -o "${output?}" -s ${1+"$@"} -+gcc -o "${output?}" -s -L ${PREFIX}/lib/skalibs ${1+"$@"} ++gcc ${LDFLAGS} -o "${output?}" -s ${1+"$@"} |