openbsd-ports/graphics/ImageMagick/patches/patch-ltdl_Makefile_am

41 lines
914 B
Plaintext

$OpenBSD: patch-ltdl_Makefile_am,v 1.1 2005/03/31 04:23:42 pvalchev Exp $
--- ltdl/Makefile.am.orig Wed Feb 9 12:29:44 2005
+++ ltdl/Makefile.am Wed Feb 9 12:32:11 2005
@@ -15,11 +15,11 @@
# Makefile for building libltdl.
LTDL_HDRS = \
- ltdl/ltdl.h
+ /usr/local/share/libtool/libltdl/ltdl.h
LTDL_SRCS = \
- ltdl/ltdl.c \
- ltdl/ltdl.h
+ /usr/local/share/libtool/libltdl/ltdl.c \
+ /usr/local/share/libtool/libltdl/ltdl.h
#if WITH_LTDL
#LIB_LTDL=$(LIBLTDL)
@@ -28,18 +28,14 @@ LTDL_SRCS = \
#endif
if WITH_LTDL
- LIBLTDL=ltdl/libltdl.la
-if INSTALL_LTDL
- LTDL_INSTALLHEADERS = $(LTDL_HDRS)
-else
+ LIBLTDL=/usr/local/lib/libltdl.la
LTDL_NOINST_HDRS = $(LTDL_HDRS)
-endif # INSTALL_LTDL
else
LIBLTDL=
endif # WITH_LTDL
-LTDL_CLEANFILES = \
- ltdl/libltdl.la
+LTDL_CLEANFILES =
+
ltdl_libltdl_la_SOURCES = $(LTDL_SRCS)
ltdl_libltdl_la_LDFLAGS = -no-undefined -version-info 4:0:1