jcapik pushed to gmp (master). "Adding STAGE1 bootstrap recipe"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Jun 10 18:21:47 UTC 2015


From 5c32a1440283436b22688e3b0f21dfa176677ed2 Mon Sep 17 00:00:00 2001
From: Jaromir Capik <jcapik at redhat.com>
Date: Wed, 10 Jun 2015 20:21:30 +0200
Subject: Adding STAGE1 bootstrap recipe


diff --git a/STAGE1-gmp b/STAGE1-gmp
new file mode 100644
index 0000000..a11a85f
--- /dev/null
+++ b/STAGE1-gmp
@@ -0,0 +1,22 @@
+L=$1
+srpm $L
+mcd $BUILDDIR/t-$L
+$SRC/${L}-*/configure $TCONFIGARGS
+make $J
+
+# The contents of libdir (which in this case is
+# /usr/lib${SUFFIX}), will get passed to -L in one of the
+# (re)link stages while installing, thus getting libgcc_so.*
+# from the host.
+#
+# ?? I don't understand why --libdir=/usr/lib64 is being
+#    passed in $TCONFIGARGS instead of
+#    --libdir=${ROOTFS}/usr/lib64, but assuming that's the way
+#    it's supposed to to be, then fix libdir here right before
+#    installing the binaries. ??--aldyh
+for i in *.la; do
+    sed -i~ -e "s;libdir='/usr/lib;libdir='$ROOTFS/usr/lib;" $i
+done
+make $J install DESTDIR=${ROOTFS}
+
+fix_la $L
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/gmp.git/commit/?h=master&id=5c32a1440283436b22688e3b0f21dfa176677ed2


More information about the scm-commits mailing list