diff options
Diffstat (limited to 'perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild')
-rw-r--r-- | perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild b/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild index 7004a0b6dc..70288baf55 100644 --- a/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild +++ b/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-Net-Pcap -VERSION=${VERSION:-0.17} +VERSION=${VERSION:-0.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -32,7 +32,7 @@ DOCS="README" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -72,8 +72,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -p1 < $CWD/makefile.patch patch -p1 < $CWD/listdatalinks.patch +patch -p1 < $CWD/pcapapi.patch PERL_MM_USE_DEFAULT=1 perl Makefile.PL \ PREFIX=/usr \ |