diff options
author | jkim <jkim@FreeBSD.org> | 2013-10-08 08:03:16 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-10-08 08:03:16 +0800 |
commit | 2cdc7a8011d68e815fb70ceef695ab41675a6ca2 (patch) | |
tree | f5050482b850c1901adf3f1fece21871e47f83b0 /java/openjdk6/files | |
parent | 8b132919e9c8beec0211401d0c9d09054dc8b2d6 (diff) | |
download | freebsd-ports-gnome-2cdc7a8011d68e815fb70ceef695ab41675a6ca2.tar.gz freebsd-ports-gnome-2cdc7a8011d68e815fb70ceef695ab41675a6ca2.tar.zst freebsd-ports-gnome-2cdc7a8011d68e815fb70ceef695ab41675a6ca2.zip |
- Support staging.
- Fix fastdebug installation.
- Update jtreg version to Build b05.
- Refine r327353. Use an extra patch instead.
- Install proper license file. OpenJDK6 has GPLv2 + "Classpath" exception.
Diffstat (limited to 'java/openjdk6/files')
-rw-r--r-- | java/openjdk6/files/libiconv.patch | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/java/openjdk6/files/libiconv.patch b/java/openjdk6/files/libiconv.patch new file mode 100644 index 000000000000..e3f7f912fe08 --- /dev/null +++ b/java/openjdk6/files/libiconv.patch @@ -0,0 +1,71 @@ +--- Makefile ++++ Makefile +@@ -241,9 +241,11 @@ + ifeq ($(OS_VENDOR), Apple) + OTHER_LDLIBS += -liconv + else +- ifneq ($(OS_NAME), netbsd) +- CPPFLAGS += -I$(PACKAGE_PATH)/include +- OTHER_LDLIBS += -L$(PACKAGE_PATH)/lib -liconv ++ ifneq ($(OS_NAME), freebsd) ++ ifneq ($(OS_NAME), netbsd) ++ CPPFLAGS += -I$(PACKAGE_PATH)/include ++ OTHER_LDLIBS += -L$(PACKAGE_PATH)/lib -liconv ++ endif + endif + endif + endif +--- jdk/make/java/instrument/Makefile ++++ jdk/make/java/instrument/Makefile +@@ -112,10 +112,12 @@ + LDFLAGS += -Wl,--no-whole-archive + endif + +- ICONV_PATH = $(PACKAGE_PATH) ++ ifneq ($(OS_VENDOR), FreeBSD) ++ ICONV_PATH = $(PACKAGE_PATH) + # Use CPPFLAGS instead of OTHER_INCLUDES to force this last +- CPPFLAGS += -I$(ICONV_PATH)/include +- OTHER_LDLIBS += -L$(ICONV_PATH)/lib -liconv ++ CPPFLAGS += -I$(ICONV_PATH)/include ++ OTHER_LDLIBS += -L$(ICONV_PATH)/lib -liconv ++ endif + else + LDFLAGS += -L $(LIBDIR)/$(LIBARCH)/jli + OTHER_LDLIBS += -ljli +--- jdk/make/java/npt/Makefile ++++ jdk/make/java/npt/Makefile +@@ -75,9 +75,11 @@ + ifeq ($(OS_VENDOR), Apple) + OTHER_LDLIBS += -liconv + else +- ifneq ($(OS_NAME), netbsd) +- CPPFLAGS += -I$(PACKAGE_PATH)/include +- OTHER_LDLIBS += -L$(PACKAGE_PATH)/lib -liconv ++ ifneq ($(OS_NAME), freebsd) ++ ifneq ($(OS_NAME), netbsd) ++ CPPFLAGS += -I$(PACKAGE_PATH)/include ++ OTHER_LDLIBS += -L$(PACKAGE_PATH)/lib -liconv ++ endif + endif + endif + endif +--- jdk/make/sun/splashscreen/Makefile ++++ jdk/make/sun/splashscreen/Makefile +@@ -74,9 +74,13 @@ + CFLAGS += -DPNG_NO_MMX_CODE + ICONV_PATH = $(PACKAGE_PATH) + CPPFLAGS += -I$(OPENWIN_HOME)/include \ +- -I$(OPENWIN_HOME)/include/X11/extensions \ +- -I$(ICONV_PATH)/include +- OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext -L$(ICONV_PATH)/lib -liconv $(LIBM) -pthread ++ -I$(OPENWIN_HOME)/include/X11/extensions ++ OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) ++ ifneq ($(OS_NAME), freebsd) ++ CPPFLAGS += -I$(ICONV_PATH)/include ++ OTHER_LDLIBS += -L$(ICONV_PATH)/lib -liconv ++ endif ++ OTHER_LDLIBS += -pthread + else + CPPFLAGS += -I$(OPENWIN_HOME)/include -I$(OPENWIN_HOME)/include/X11/extensions + OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpthread |