diff options
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/.footprint | 7 | ||||
-rw-r--r-- | libffi/.signature | 6 | ||||
-rw-r--r-- | libffi/Pkgfile | 13 |
3 files changed, 17 insertions, 9 deletions
diff --git a/libffi/.footprint b/libffi/.footprint index 663a44230..9270e7d34 100644 --- a/libffi/.footprint +++ b/libffi/.footprint @@ -1,9 +1,8 @@ drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/ffi.h +-rw-r--r-- root/root usr/include/ffitarget.h drwxr-xr-x root/root usr/lib/ -drwxr-xr-x root/root usr/lib/libffi-3.2.1/ -drwxr-xr-x root/root usr/lib/libffi-3.2.1/include/ --rw-r--r-- root/root usr/lib/libffi-3.2.1/include/ffi.h --rw-r--r-- root/root usr/lib/libffi-3.2.1/include/ffitarget.h -rw-r--r-- root/root usr/lib/libffi.a -rwxr-xr-x root/root usr/lib/libffi.la lrwxrwxrwx root/root usr/lib/libffi.so -> libffi.so.6.0.4 diff --git a/libffi/.signature b/libffi/.signature index 75b33c763..154e26b43 100644 --- a/libffi/.signature +++ b/libffi/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/XqIC63xPKQQLncJtTmd97sfeUPO8sNPfeIS7ZzuopG6JXiKVdeWU+ZzpElcS2k7uc+9LVOg2IfpUxE1iCyw3gY= -SHA256 (Pkgfile) = c1936e02df97e33210053c8c3bb4ad57361fb26c83848d1b8b8e0d255401fc03 -SHA256 (.footprint) = 15bc1dc1c3384888271bcd1ebaec513546636d58ef3a9f1e02937b3b76846cf9 +RWSE3ohX2g5d/bE7OoYUXZ8x+3WT2/zcydZdbZ8uj8B02pXh316w7W481AFTRjZV0FqHWi2DVnE5H872GKJ2jE1PJE0GeGCxfw0= +SHA256 (Pkgfile) = 9de7852685f1ea07111476eea9028699a63859af295e25f74b283ae62bd91261 +SHA256 (.footprint) = edc15544aefa5bb35ff787274decd783a341fb24ed77e2b34ba0833cd9e6f335 SHA256 (libffi-3.2.1.tar.gz) = d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37 diff --git a/libffi/Pkgfile b/libffi/Pkgfile index 9fa8a39fd..27fa413c5 100644 --- a/libffi/Pkgfile +++ b/libffi/Pkgfile @@ -4,11 +4,20 @@ name=libffi version=3.2.1 -release=2 -source=(ftp://sourceware.org/pub/libffi/$name-$version.tar.gz) +release=3 +source=(https://sourceware.org/pub/$name/$name-$version.tar.gz) build() { cd $name-$version + + sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \ + -i include/Makefile.in + + sed \ + -e '/^includedir/ s/=.*$/=@includedir@/' \ + -e 's/^Cflags: -I${includedir}/Cflags:/' \ + -i libffi.pc.in + ./configure --prefix=/usr make make DESTDIR=$PKG install |