summaryrefslogtreecommitdiff
path: root/lang/openjdk7/patches/patch-jdk_make_sun_splashscreen_Makefile
blob: 1861f5b99bf56df1990aa9cdf831909e0ab1d5f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-jdk_make_sun_splashscreen_Makefile,v 1.2 2015/04/27 19:24:17 jperkin Exp $

GCC support.

--- jdk/make/sun/splashscreen/Makefile.orig	2013-06-11 09:37:03.893407544 +0000
+++ jdk/make/sun/splashscreen/Makefile
@@ -91,6 +91,11 @@ else ifneq ($(PLATFORM), windows)
       OTHER_LDLIBS += -L$(PACKAGE_PATH)/lib -liconv
     endif
   endif
+  ifeq ($(PLATFORM), solaris)
+    ifeq ($(CC_VERSION), gcc)
+      OTHER_LDLIBS += -L${BUILDLINK_PREFIX.iconv}/lib -liconv
+    endif
+  endif
   CPPFLAGS += -I$(OPENWIN_HOME)/include -I$(OPENWIN_HOME)/include/X11/extensions
   OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpthread
 else # PLATFORM