git: f0c6256389cf - main - net/netwib: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 10:05:40 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f0c6256389cf9e548b7f1fad008eb8ce7a124595

commit f0c6256389cf9e548b7f1fad008eb8ce7a124595
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 09:39:08 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 10:05:18 +0000

    net/netwib: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net/netwib/Makefile               |  2 +-
 net/netwib/files/patch-config.dat | 28 ++++++++++++++++++----------
 net/netwib/pkg-plist              | 28 ++++++++++++++--------------
 3 files changed, 33 insertions(+), 25 deletions(-)

diff --git a/net/netwib/Makefile b/net/netwib/Makefile
index 2c43d4fac933..78730b771848 100644
--- a/net/netwib/Makefile
+++ b/net/netwib/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	netwib
 PORTVERSION=	5.38.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net devel
 MASTER_SITES=	http://www.laurentconstantin.com/common/netw/netwib/download/v5/ \
 		http://membres.lycos.fr/lauconstantin/common/netw/netwib/download/v5/ \
diff --git a/net/netwib/files/patch-config.dat b/net/netwib/files/patch-config.dat
index e8dae36315db..2723da4d8bfd 100644
--- a/net/netwib/files/patch-config.dat
+++ b/net/netwib/files/patch-config.dat
@@ -1,20 +1,28 @@
---- config.dat.orig	Sun Aug 15 21:04:46 2004
-+++ config.dat	Tue Aug 17 11:15:37 2004
-@@ -7,7 +7,7 @@
- 
- ##########################################################################
- ### directories where netwib will be installed
--NETWIBDEF_INSTPREFIX=/usr/local
-+NETWIBDEF_INSTPREFIX=%%PREFIX%%
+--- config.dat.orig	2010-02-14 17:18:16 UTC
++++ config.dat
+@@ -11,7 +11,7 @@ NETWIBDEF_INSTBIN=${NETWIBDEF_INSTPREFIX}/bin
  NETWIBDEF_INSTINCLUDE=${NETWIBDEF_INSTPREFIX}/include
  NETWIBDEF_INSTLIB=${NETWIBDEF_INSTPREFIX}/lib
  NETWIBDEF_INSTBIN=${NETWIBDEF_INSTPREFIX}/bin
-@@ -26,7 +26,7 @@
+-NETWIBDEF_INSTMAN=${NETWIBDEF_INSTPREFIX}/man
++NETWIBDEF_INSTMAN=${NETWIBDEF_INSTPREFIX}/share/man
+ NETWIBDEF_INSTMAN3=${NETWIBDEF_INSTMAN}/man3
+ 
+ ### installation destination directory
+@@ -19,14 +19,14 @@ NETWIBDEF_INSTDESTDIR=""
+ 
+ ##########################################################################
+ ### programs
+-NETWIBDEF_PROGCC=gcc
++NETWIBDEF_PROGCC=cc
+ NETWIBDEF_PROGAR=ar
+ NETWIBDEF_PROGRANLIB=ranlib
+ NETWIBDEF_PROGGREP=grep
  
  ##########################################################################
  ### compiler options
 -NETWIBDEF_PROGCC_OPT="-Wall -O2"
-+NETWIBDEF_PROGCC_OPT="%%CFLAGS%%"
++NETWIBDEF_PROGCC_OPT="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "
  NETWIBDEF_PROGCC_INC=""
  NETWIBDEF_PROGCC_LIB=""
  NETWIBDEF_PROGCC_OPTPIC=""
diff --git a/net/netwib/pkg-plist b/net/netwib/pkg-plist
index 2867a84814ed..5de2f262ec90 100644
--- a/net/netwib/pkg-plist
+++ b/net/netwib/pkg-plist
@@ -125,17 +125,17 @@ include/netwib%%SHORTPORTVERSION%%/sys/waitlist.h
 include/netwib%%SHORTPORTVERSION%%/sys/windows.h
 lib/libnetwib%%SHORTPORTVERSION%%.a
 lib/libnetwib.a
-man/man3/netwib.3.gz
-man/man3/netwib%%SHORTPORTVERSION%%.3.gz
-man/man3/netwib%%SHORTPORTVERSION%%_dat.3.gz
-man/man3/netwib%%SHORTPORTVERSION%%_err.3.gz
-man/man3/netwib%%SHORTPORTVERSION%%_net.3.gz
-man/man3/netwib%%SHORTPORTVERSION%%_pkt.3.gz
-man/man3/netwib%%SHORTPORTVERSION%%_shw.3.gz
-man/man3/netwib%%SHORTPORTVERSION%%_sys.3.gz
-man/man3/netwib_dat.3.gz
-man/man3/netwib_err.3.gz
-man/man3/netwib_net.3.gz
-man/man3/netwib_pkt.3.gz
-man/man3/netwib_shw.3.gz
-man/man3/netwib_sys.3.gz
+share/man/man3/netwib.3.gz
+share/man/man3/netwib%%SHORTPORTVERSION%%.3.gz
+share/man/man3/netwib%%SHORTPORTVERSION%%_dat.3.gz
+share/man/man3/netwib%%SHORTPORTVERSION%%_err.3.gz
+share/man/man3/netwib%%SHORTPORTVERSION%%_net.3.gz
+share/man/man3/netwib%%SHORTPORTVERSION%%_pkt.3.gz
+share/man/man3/netwib%%SHORTPORTVERSION%%_shw.3.gz
+share/man/man3/netwib%%SHORTPORTVERSION%%_sys.3.gz
+share/man/man3/netwib_dat.3.gz
+share/man/man3/netwib_err.3.gz
+share/man/man3/netwib_net.3.gz
+share/man/man3/netwib_pkt.3.gz
+share/man/man3/netwib_shw.3.gz
+share/man/man3/netwib_sys.3.gz