[Frugalware-git] bmf: xplc-0.3.13-2-x86_64 * rebuild with tc * added patch to fix the build * I guess this one will just die soon

crazy crazy at frugalware.org
Wed Dec 30 20:25:13 CET 2015


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=bmf.git;a=commitdiff;h=bc0ea3979ffcf9e137501549ab11bb4fcd9d86d9

commit bc0ea3979ffcf9e137501549ab11bb4fcd9d86d9
Author: crazy <crazy at frugalware.org>
Date:   Wed Dec 30 19:20:58 2015 +0100

xplc-0.3.13-2-x86_64
* rebuild with tc
* added patch to fix the build
* I guess this one will just die soon

diff --git a/source/devel/xplc/FrugalBuild b/source/devel/xplc/FrugalBuild
index d5f8eef..069e193 100644
--- a/source/devel/xplc/FrugalBuild
+++ b/source/devel/xplc/FrugalBuild
@@ -3,18 +3,21 @@

pkgname=xplc
pkgver=0.3.13
-pkgrel=1
+pkgrel=2
pkgdesc="cross platform lightweight components library for C++"
-depends=('e2fsprogs' 'libstdc++')
-makedepends=('pkgconfig')
+depends=('libuuid>=2.27.1-4' 'libstdc++>=5.3.0-2')
+makedepends=('pkgconfig>=0.29-2')
groups=('devel')
archs=('i686' 'x86_64')
Finclude sourceforge
-sha1sums=('51fa45b7f1decdb98c22bda5fa156164174fb472')
+source=("${source[@]}" xplc-0.3.13-as-needed.patch)
+sha1sums=('51fa45b7f1decdb98c22bda5fa156164174fb472' \
+          'f29a80ef4c5f83ca26587f37268317e4651a7687')

build()
{
Fcd
+	Fpatchall
# Conflicts with e2fsprogs :) but depends on it. heh :) sed from gentoo
sed -i -e "s/uuidgen/xplc-uuidgen/g" -e "s/uuidcdef/xplc-uuidcdef/g" \
uuid/{rules.mk,vars.mk} config/rules.mk uuid/bin/*.1 include/xplc/*.h && \
diff --git a/source/devel/xplc/xplc-0.3.13-as-needed.patch b/source/devel/xplc/xplc-0.3.13-as-needed.patch
new file mode 100644
index 0000000..3e002db
--- /dev/null
+++ b/source/devel/xplc/xplc-0.3.13-as-needed.patch
@@ -0,0 +1,22 @@
+--- config/rules.mk.orig	2006-05-06 19:28:46.000000000 +0200
++++ config/rules.mk	2006-05-06 19:28:53.000000000 +0200
+@@ -44,7 +44,7 @@
+ 	$(RANLIB) $@
+
+ %.so:
+-	$(LINK.cc) $(SHARED) $^ -o $@
++	$(LINK.cc) $(SHARED) $^ $(LDLIBS) -o $@
+
+ %.dll:
+ 	$(LINK.cc) $(SHARED) $^ -o $@
+--- xplc/vars.mk.orig	2006-05-06 19:32:06.000000000 +0200
++++ xplc/vars.mk	2006-05-06 19:32:12.000000000 +0200
+@@ -32,7 +32,7 @@
+
+ ifneq ("$(enable_loader)", "no")
+ ifneq ("$(with_dlopen)", "no")
+-libxplc.so: LDFLAGS+=$(with_dlopen)
++libxplc.so: LDLIBS+=$(with_dlopen)
+ endif
+ endif
+


More information about the Frugalware-git mailing list