diff options
author | Holger Freyther <zecke@selfish.org> | 2006-04-09 14:16:59 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-04-09 14:16:59 +0000 |
commit | dcd9acc900b9938b76201e01d1a77ac9ca06579b (patch) | |
tree | 1ef8d4a42f6c444554f92029410002beb4b5d859 | |
parent | f3e5826c5a2ce74f5677dcc385364a762f50ab68 (diff) |
packages/quilt:
Be buildable on non GNU systems. This patch was mainly
taken from the quilt mailing lists.
-rw-r--r-- | packages/quilt/files/non-gnu.patch | 13 | ||||
-rw-r--r-- | packages/quilt/quilt-native_0.42.bb | 3 | ||||
-rw-r--r-- | packages/quilt/quilt_0.42.bb | 3 |
3 files changed, 17 insertions, 2 deletions
diff --git a/packages/quilt/files/non-gnu.patch b/packages/quilt/files/non-gnu.patch new file mode 100644 index 0000000000..8b07bc2923 --- /dev/null +++ b/packages/quilt/files/non-gnu.patch @@ -0,0 +1,13 @@ +Index: quilt/Makefile.in +=================================================================== +--- quilt.orig/Makefile.in ++++ quilt/Makefile.in +@@ -216,7 +216,7 @@ + -e 's:@LOCALEDIR''@:$(localedir):g' \ + -e 's:@DOCSUBDIR''@:$(docdir)/$(PACKAGE)-$(VERSION):g' \ + $< > $@ +- @chmod --reference=$< $@ ++ @chmod `stat -f "%p" $<` $@ + + Makefile : Makefile.in + @echo "Please run ./configure by hand" diff --git a/packages/quilt/quilt-native_0.42.bb b/packages/quilt/quilt-native_0.42.bb index 19b4a3b865..959bcfcb57 100644 --- a/packages/quilt/quilt-native_0.42.bb +++ b/packages/quilt/quilt-native_0.42.bb @@ -7,7 +7,8 @@ RDEPENDS_${PN} = "diffstat-native patch-native bzip2-native" SRC_URI = "cvs://anonymous@cvs.savannah.nongnu.org/cvsroot/quilt;method=pserver;module=quilt;tag=VER_${@(bb.data.getVar('PV', d, 1) or '').replace('.', '_')} \ file://install.patch;patch=1 \ file://nostrip.patch;patch=1 \ - file://autoreconf.patch;patch=1" + file://autoreconf.patch;patch=1 \ + file://non-gnu.patch;patch=1 " S = "${WORKDIR}/quilt" inherit autotools native diff --git a/packages/quilt/quilt_0.42.bb b/packages/quilt/quilt_0.42.bb index 44a0d9529b..d4be31a02a 100644 --- a/packages/quilt/quilt_0.42.bb +++ b/packages/quilt/quilt_0.42.bb @@ -2,7 +2,8 @@ include quilt.inc SRC_URI = "cvs://anonymous@cvs.savannah.nongnu.org/cvsroot/quilt;method=pserver;module=quilt;tag=VER_${@(bb.data.getVar('PV', d, 1) or '').replace('.', '_')} \ file://install.patch;patch=1 \ - file://nostrip.patch;patch=1" + file://nostrip.patch;patch=1 \ + file://non-gnu.patch;patch=1 " S = "${WORKDIR}/quilt" inherit autotools gettext |