From 509f585ade129ef2e2a4d916a520bbeb7034b185 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 2 Dec 2015 15:22:06 +0000 Subject: [PATCH] pkgutils: updated mandir and added -march=native to CFLAGS (this will cause a lot of footprint mistmatches in some toolchain components and ports) --- pkgutils/.footprint | 19 ++++++++++--------- pkgutils/.md5sum | 2 +- pkgutils/Pkgfile | 2 +- pkgutils/pkgmk.conf.patch | 2 +- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/pkgutils/.footprint b/pkgutils/.footprint index e49fe87..675aac2 100644 --- a/pkgutils/.footprint +++ b/pkgutils/.footprint @@ -9,12 +9,13 @@ lrwxrwxrwx root/root usr/bin/pkginfo -> pkgadd -rwxr-xr-x root/root usr/bin/pkgmk lrwxrwxrwx root/root usr/bin/pkgrm -> pkgadd -rwxr-xr-x root/root usr/bin/rejmerge -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man5/ --rw-r--r-- root/root usr/man/man5/pkgmk.conf.5.gz -drwxr-xr-x root/root usr/man/man8/ --rw-r--r-- root/root usr/man/man8/pkgadd.8.gz --rw-r--r-- root/root usr/man/man8/pkginfo.8.gz --rw-r--r-- root/root usr/man/man8/pkgmk.8.gz --rw-r--r-- root/root usr/man/man8/pkgrm.8.gz --rw-r--r-- root/root usr/man/man8/rejmerge.8.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/pkgmk.conf.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/pkgadd.8.gz +-rw-r--r-- root/root usr/share/man/man8/pkginfo.8.gz +-rw-r--r-- root/root usr/share/man/man8/pkgmk.8.gz +-rw-r--r-- root/root usr/share/man/man8/pkgrm.8.gz +-rw-r--r-- root/root usr/share/man/man8/rejmerge.8.gz diff --git a/pkgutils/.md5sum b/pkgutils/.md5sum index 0222d6f..22b7fde 100644 --- a/pkgutils/.md5sum +++ b/pkgutils/.md5sum @@ -1,2 +1,2 @@ -5ca765adf36e8ef13701248f10e4872b pkgmk.conf.patch +4243e7ea40bd42f09db57c73a60fc49e pkgmk.conf.patch 5f4ba23340492548ebf58b0ce7109e69 pkgutils-5.35.6.tar.gz diff --git a/pkgutils/Pkgfile b/pkgutils/Pkgfile index c87e910..7a01d44 100644 --- a/pkgutils/Pkgfile +++ b/pkgutils/Pkgfile @@ -14,5 +14,5 @@ build () { cd $name-$version patch -p0 -i $SRC/pkgmk.conf.patch sed -i -e "s|\--static||g" -e "s|\-static||g" Makefile - make DESTDIR=$PKG install + make DESTDIR=$PKG install MANDIR=/usr/share/man } diff --git a/pkgutils/pkgmk.conf.patch b/pkgutils/pkgmk.conf.patch index 0f05a56..04813e6 100644 --- a/pkgutils/pkgmk.conf.patch +++ b/pkgutils/pkgmk.conf.patch @@ -7,7 +7,7 @@ -export CFLAGS="-O2 -march=x86-64 -pipe" -export CXXFLAGS="${CFLAGS}" - -+export CFLAGS="-O2 -pipe -mfloat-abi=hard" ++export CFLAGS="-O2 -pipe -mfloat-abi=hard -march=native" +export CXXFLAGS="$CFLAGS" # export MAKEFLAGS="-j2" -- 2.26.2