diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/expat/patches |
Initial import
Diffstat (limited to 'package/expat/patches')
-rw-r--r-- | package/expat/patches/001-destdir.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/package/expat/patches/001-destdir.patch b/package/expat/patches/001-destdir.patch new file mode 100644 index 000000000..0116f97f2 --- /dev/null +++ b/package/expat/patches/001-destdir.patch @@ -0,0 +1,44 @@ +diff -ruN expat-1.95.8-orig/Makefile.in expat-1.95.8-1/Makefile.in +--- expat-1.95.8.orig/Makefile.in 2004-05-07 22:00:48.000000000 +0200 ++++ expat-1.95.8/Makefile.in 2009-05-09 13:40:57.000000000 +0200 +@@ -34,6 +34,8 @@ man1dir = @mandir@/man1 + + top_builddir = . + ++DESTDIR = ++ + + INSTALL = @INSTALL@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ +@@ -73,22 +75,22 @@ check: tests/runtests + tests/runtests + + install: xmlwf/xmlwf installlib +- $(mkinstalldirs) $(bindir) $(man1dir) +- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf $(bindir)/xmlwf +- $(INSTALL_DATA) $(MANFILE) $(man1dir) ++ $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) ++ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf $(DESTDIR)$(bindir)/xmlwf ++ $(INSTALL_DATA) $(MANFILE) $(DESTDIR)$(man1dir) + + installlib: $(LIBRARY) $(APIHEADER) +- $(mkinstalldirs) $(libdir) $(includedir) +- $(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(libdir)/$(LIBRARY) +- $(INSTALL_DATA) $(APIHEADER) $(includedir) ++ $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) ++ $(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(DESTDIR)$(libdir)/$(LIBRARY) ++ $(INSTALL_DATA) $(APIHEADER) $(DESTDIR)$(includedir) + + uninstall: uninstalllib +- $(LIBTOOL) --mode=uninstall rm -f $(bindir)/xmlwf ++ $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(bindir)/xmlwf + rm -f $(man1dir)/xmlwf.1 + + uninstalllib: +- $(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(LIBRARY) +- rm -f $(includedir)/$(APIHEADER) ++ $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(LIBRARY) ++ rm -f $(DESTDIR)$(includedir)/$(APIHEADER) + + # for VPATH builds (invoked by configure) + mkdir-init: |