components/curl/patches/003-Makefile.in.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Fri, 30 Sep 2016 21:33:56 -0700
changeset 7017 25872950aa80
parent 2151 8977d970976a
permissions -rw-r--r--
24476452 The Horizon plugin ironic-ui should be added to Userland (fix pkgmerge)

Adjusted to include all the libraries needed to successfully link on Solaris.

Note that on S11, the LIBS line will need to be:
LIBS = $(BLANK_AT_MAKETIME) -lsocket -lresolv -lnsl -lgen
as -lsocket and -lnsl have not yet been subsumed into libc.

This patch needs to be sent upstream, but needs to be reworked first.

--- tests/server/Makefile.in.orig	2014-09-10 12:16:40.748828978 -0700
+++ tests/server/Makefile.in	2014-09-10 12:17:11.065886554 -0700
@@ -377,7 +377,7 @@
 LIBOBJS = @LIBOBJS@
 
 # Prevent LIBS from being used for all link targets
-LIBS = $(BLANK_AT_MAKETIME)
+LIBS = $(BLANK_AT_MAKETIME) -lresolv -lgen
 LIBTOOL = @LIBTOOL@
 LIPO = @LIPO@
 LN_S = @LN_S@