From 2339b36a5e362f199b43681f3022e93590da4825 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 8 May 2015 19:44:38 +0200 Subject: [PATCH] libieee1284: conditionalize outb_p on glibc. --- srcpkgs/libieee1284/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libieee1284/template b/srcpkgs/libieee1284/template index eab022e9da..6fbed76909 100644 --- a/srcpkgs/libieee1284/template +++ b/srcpkgs/libieee1284/template @@ -11,7 +11,11 @@ license="GPL-2" distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.bz2" checksum=7730de107782e5d2b071bdcb5b06a44da74856f00ef4a9be85d1ba4806a38f1a -CFLAGS="-Doutb_p=outb" +post_extract() { + case "$XBPS_TARGET_MACHINE" in + *-musl) export CFLAGS+=" -Doutb_p=outb";; + esac +} libieee1284-devel_package() { depends="${sourcepkg}>=${version}_${revision}"