openbsd-ports/audio/libgpod/patches/patch-tests_Makefile_in
2007-11-22 22:37:33 +00:00

32 lines
1.4 KiB
Plaintext

$OpenBSD: patch-tests_Makefile_in,v 1.3 2007/11/22 22:37:33 ckuethe Exp $
--- tests/Makefile.in.orig Sat Nov 10 04:16:20 2007
+++ tests/Makefile.in Sun Nov 18 00:23:35 2007
@@ -105,8 +105,7 @@ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
-LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
+LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) -o $@
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
@@ -219,7 +218,7 @@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = -L$(top_builddir)/src @LDFLAGS@
LIBGPOD_CFLAGS = @LIBGPOD_CFLAGS@
LIBGPOD_LIBS = @LIBGPOD_LIBS@
LIBGPOD_MAJOR_VERSION = @LIBGPOD_MAJOR_VERSION@
@@ -228,7 +227,7 @@ LIBGPOD_MINOR_VERSION = @LIBGPOD_MINOR_VERSION@
LIBGPOD_SO_VERSION = @LIBGPOD_SO_VERSION@
LIBGPOD_VERSION = @LIBGPOD_VERSION@
LIBOBJS = @LIBOBJS@
-LIBS = $(LIBGPOD_LIBS) $(top_builddir)/src/libgpod.la
+LIBS = $(top_builddir)/src/libgpod.la $(LIBGPOD_LIBS) $(LDFLAGS)
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@