loader: fix Makefile for BSD make

Austin English austinenglish at gmail.com
Fri Jun 28 21:39:14 CDT 2013


Fixes http://bugs.winehq.org/show_bug.cgi?id=33909

@Alexandre, if you know of a more proper fix that works on BSD make,
feel free to reject and fix it yourself (let me know if you need
something tested) :)

--
-Austin
-------------- next part --------------
diff --git a/loader/Makefile.in b/loader/Makefile.in
index 3993fa3..8b7fb58 100644
--- a/loader/Makefile.in
+++ b/loader/Makefile.in
@@ -46,7 +46,7 @@ wine-installed: main.o Makefile.in wine_info.plist
 	$(CC) -o $@ $(LDEXECFLAGS) main.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
 
 wine_info.plist: wine_info.plist.in
-	LC_ALL=C sed -e 's, at PACKAGE_VERSION\@, at PACKAGE_VERSION@,g' $< >$@ || ($(RM) $@ && false)
+	LC_ALL=C sed -e 's, at PACKAGE_VERSION\@, at PACKAGE_VERSION@,g' wine_info.plist.in >$@ || ($(RM) $@ && false)
 
 $(EXTRA_BINARIES:%=__install__%): $(EXTRA_BINARIES) $(DESTDIR)$(bindir) dummy
 	f=`expr $@ : '__install__\(.*\)'` && $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f


More information about the wine-patches mailing list