diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-07-24 14:07:38 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-07-24 14:07:38 +0700 |
commit | ada1e5b198343de72668f6e253b8035364cbf9a3 (patch) | |
tree | 59f3ceed441a2fc2479602e2d02d0fc4817425e9 /perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild | |
parent | 0e05ee5739ec71700fa91ca836801d97639b20f1 (diff) |
perl/perl-Net-Pcap: Updated for version 0.18.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 7004a0b6dc91..70288baf55ad 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 \ |