pkgsrc/lang/kaffe/patches/patch-ad
2015-12-29 23:34:43 +00:00

25 lines
1 KiB
Text

$NetBSD: patch-ad,v 1.11 2015/12/29 23:34:49 dholland Exp $
Use the installed version of libkaffevm. Fixes build issues on
DragonFly, but doesn't affect the binary package.
--- libraries/clib/awt/X/Makefile.in.orig 2006-05-29 15:57:43.000000000 +0000
+++ libraries/clib/awt/X/Makefile.in
@@ -84,7 +84,7 @@ am__installdirs = "$(DESTDIR)$(nativedir
nativeLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(native_LTLIBRARIES)
am__DEPENDENCIES_1 =
-libxawt_la_DEPENDENCIES = $(top_builddir)/kaffe/kaffevm/libkaffevm.la \
+libxawt_la_DEPENDENCIES = \
$(top_builddir)/libraries/javalib/external/classpath/native/jni/classpath/libclasspath.la \
$(am__DEPENDENCIES_1)
am_libxawt_la_OBJECTS = libxawt_la-tlk.lo libxawt_la-wnd.lo \
@@ -399,7 +399,7 @@ libxawt_la_LDFLAGS = \
-export-symbols-regex "^([Jj]ava|kaffe)_"
libxawt_la_LIBADD = \
- $(top_builddir)/kaffe/kaffevm/libkaffevm.la \
+ ${nativedir}/libkaffevm.la \
$(top_builddir)/libraries/javalib/external/classpath/native/jni/classpath/libclasspath.la \
$(AWT_LIBS)