argyllcms: fix PIE

This commit is contained in:
Toyam Cox 2016-08-07 00:48:16 -04:00
parent d82c452eb7
commit ad318b73fa

View file

@ -1,10 +1,11 @@
# Template file for 'argyllcms'
pkgname=argyllcms
version=1.8.3
revision=2
revision=3
wrksrc="Argyll_V${version}"
hostmakedepends="ftjam zip unzip"
makedepends="zlib-devel libjpeg-turbo-devel libXinerama-devel libXScrnSaver-devel libXxf86vm-devel libXrandr-devel tiff-devel libpng-devel libressl-devel"
makedepends="zlib-devel libjpeg-turbo-devel libXinerama-devel libressl-devel
libXScrnSaver-devel libXxf86vm-devel libXrandr-devel tiff-devel libpng-devel"
short_desc="ICC compatible color management system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="AGPL-3"
@ -15,14 +16,18 @@ checksum=60494176785f6c2e4e4daefb9452d83859880449040b2a843ed81de3bd0c558e
do_configure() {
sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
}
do_build() {
unset AR
export NUMBER_OF_PROCESSORS=$XBPS_MAKEJOBS
export CCOPTFLAG="$CFLAGS"
export LINKDEBUGFLAG="$LDFLAGS"
sh ./makeall.sh
sh ./makeinstall.sh
rm {bin,ref}/License.txt
rm {doc,ref}/afiles
}
do_install() {
vmkdir usr/bin
install -m755 bin/* ${DESTDIR}/usr/bin