Patches for aports can be sent to this list

[alpine-aports] [PATCH] main/iniparser: build libiniparser.so with -fPIC

Christian Kampka
Details
Message ID
<1446806004-11448-1-git-send-email-christian@kampka.net>
Sender timestamp
1446806004
DKIM signature
missing
Download raw message
Patch: +3 -3
---
 main/iniparser/APKBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main/iniparser/APKBUILD b/main/iniparser/APKBUILD
index 21d54ea..cb266f2 100644
--- a/main/iniparser/APKBUILD
+++ b/main/iniparser/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=iniparser
 pkgver=4.0
-pkgrel=0
+pkgrel=1
 pkgdesc="C library for parsing "INI-style" files"
 url="http://ndevilla.free.fr/iniparser/"
 arch="all"
@@ -27,8 +27,8 @@ prepare() {
 
 build() {
 	cd "$_builddir"
-	make CC="${CC:-gcc}" CFLAGS="${CFLAGS}" LDFLAGS="$LDFLAGS" \
-		libiniparser.so || return 1
+	make CC="${CC:-gcc}" CFLAGS="${CFLAGS} -fPIC" LDFLAGS="$LDFLAGS" \
+		libiniparser.so || return 11
 }
 
 package() {
-- 
2.6.2



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---