-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
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
}
-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"