pkgsrc/emulators/hercules/patches/patch-Makefile.in
ryoon 235dd6f3d3 Update to 3.11
Changelog:
Not available.
Linux/s390x works like before.
2015-03-24 15:04:11 +00:00

58 lines
2.4 KiB
Text

$NetBSD: patch-Makefile.in,v 1.4 2015/03/24 15:04:11 ryoon Exp $
* Fix build. Use devel/libltdl instead of internal libltdl.
--- Makefile.in.orig 2014-09-15 16:38:35.000000000 +0000
+++ Makefile.in
@@ -328,10 +328,10 @@ libherct_la_LINK = $(LIBTOOL) $(AM_V_lt)
libhercu_la_DEPENDENCIES = $(am__DEPENDENCIES_1) libhercs.la
am__libhercu_la_SOURCES_DIST = version.c hscutl.c hscutl2.c codepage.c \
logger.c logmsg.c hdl.c hostinfo.c hsocket.c memrchr.c \
- parser.c pttrace.c fthreads.c ltdl.c
+ parser.c pttrace.c fthreads.c
am__objects_5 = fthreads.lo
@BUILD_FTHREADS_TRUE@am__objects_6 = $(am__objects_5)
-@OPTION_DYNAMIC_LOAD_TRUE@am__objects_7 = ltdl.lo
+@OPTION_DYNAMIC_LOAD_TRUE@am__objects_7 =
am_libhercu_la_OBJECTS = version.lo hscutl.lo hscutl2.lo codepage.lo \
logger.lo logmsg.lo hdl.lo hostinfo.lo hsocket.lo memrchr.lo \
parser.lo pttrace.lo $(am__objects_6) $(am__objects_7)
@@ -744,7 +744,7 @@ AUTOMAKE_OPTIONS = foreign 1.5
ACLOCAL_AMFLAGS = -I m4 -I autoconf
lns = @LN_S@
SUBDIRS = decNumber softfloat m4 util html man . crypto
-LDADD = @LIBS@
+LDADD = @LIBS@ -lltdl
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/decNumber -I$(top_srcdir)/softfloat
@BUILD_HERCIFC_FALSE@HERCIFC =
@BUILD_HERCIFC_TRUE@HERCIFC = hercifc
@@ -809,11 +809,11 @@ dyndev_SRC = commadpt.c \
# -avoid-version : needed.. Otherwise libtool gives crazy names to Windows
# DLLs
#
-@BUILD_SHARED_TRUE@XSTATIC =
+@BUILD_SHARED_TRUE@XSTATIC = -shared
@OPTION_DYNAMIC_LOAD_FALSE@DYNSRC = $(dyndev_SRC)
@OPTION_DYNAMIC_LOAD_TRUE@DYNSRC =
@OPTION_DYNAMIC_LOAD_FALSE@LTDL =
-@OPTION_DYNAMIC_LOAD_TRUE@LTDL = ltdl.c
+@OPTION_DYNAMIC_LOAD_TRUE@LTDL =
@OPTION_DYNAMIC_LOAD_FALSE@DYNMOD_LD_FLAGS =
@OPTION_DYNAMIC_LOAD_TRUE@DYNMOD_LD_FLAGS = -module \
@OPTION_DYNAMIC_LOAD_TRUE@ -no-undefined \
@@ -1038,7 +1038,6 @@ EXTRA_libherc_la_SOURCES = $(fthreads_SR
$(dynamic_SRC) \
$(extra_SRC) \
$(dyndev_SRC) \
- ltdl.c
libherc_la_LDFLAGS = $(LIB_LD_FLAGS)
libherc_la_LIBADD = libhercs.la \
@@ -1278,7 +1277,6 @@ noinst_HEADERS = hostinfo.h \
hdl.h \
crypto.h \
sockdev.h \
- ltdl.h \
herc_getopt.h \
service.h \
chsc.h \