Skip to content

Commit

Permalink
*/*: Restore GNU_CONFIGURE on my ports
Browse files Browse the repository at this point in the history
I made a mistake and changed these ports to HAS_CONFIGURE when working
on MANPREFIX sanitization.  Restore proper macro usage and set
GNU_CONFIGURE_MANPREFIX properly to keep manpages installed under
${PREFIX}/share.

Reported by:	danfe
Sponsored by:	Rubicon Communications, LLC ("Netgate")
  • Loading branch information
rbgarga committed Jan 16, 2024
1 parent d113085 commit 08a9c4d
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 28 deletions.
5 changes: 3 additions & 2 deletions archivers/arj/Makefile
@@ -1,6 +1,6 @@
PORTNAME= arj
PORTVERSION= 3.10.22
PORTREVISION= 10
PORTREVISION= 11
CATEGORIES= archivers
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.78_3.10%20build%2022:source \
DEBIAN_POOL:patch
Expand Down Expand Up @@ -30,7 +30,8 @@ PATCH_STRIP= -p1

PORTSCOUT= skipv:3.10g

HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
AUTORECONF_WRKSRC= ${WRKSRC}/gnu
CONFIGURE_WRKSRC= ${WRKSRC}/gnu
MAKEFILE= GNUmakefile
Expand Down
5 changes: 3 additions & 2 deletions archivers/sharutils/Makefile
@@ -1,6 +1,6 @@
PORTNAME= sharutils
PORTVERSION= 4.15.2
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= archivers
MASTER_SITES= GNU

Expand All @@ -14,7 +14,8 @@ USES= charsetfix cpe perl5 tar:xz

OPTIONS_DEFINE= NLS

HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --program-prefix=g --disable-uucode
INSTALL_TARGET= install install-man
INFO= sharutils
Expand Down
5 changes: 3 additions & 2 deletions converters/tnef/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tnef
PORTVERSION= 1.4.12
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= converters mail
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/

Expand All @@ -16,7 +16,8 @@ CPE_VENDOR= tnef_project

OPTIONS_DEFINE= DOCS

HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share

PORTDOCS= AUTHORS BUGS NEWS README.md THANKS
PLIST_FILES= bin/tnef \
Expand Down
5 changes: 3 additions & 2 deletions devel/libslang2/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libslang2
PORTVERSION= 2.3.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.jedsoft.org/releases/slang/
DISTNAME= slang-${PORTVERSION}
Expand All @@ -14,7 +14,8 @@ LICENSE= GPLv2
USES= ncurses tar:bzip2

USE_LDCONFIG= yes
HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
MAKE_JOBS_UNSAFE= yes
ALL_TARGET= all static
Expand Down
5 changes: 3 additions & 2 deletions editors/jed/Makefile
@@ -1,6 +1,6 @@
PORTNAME= jed
DISTVERSION= 0.99-19
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= editors
MASTER_SITES= ftp://space.mit.edu/pub/davis/jed/v${PORTVERSION:R}/ \
ftp://ftp.fu-berlin.de/pub/unix/editors/jed/v${PORTVERSION:R}/ \
Expand All @@ -25,7 +25,8 @@ HOSTLOOKUP_DESC=Look-up for hostname
OPTIONS_SUB= yes
USES= tar:bzip2
DIST_SUBDIR= jed
HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ENV+= JED_ROOT=${PREFIX}/lib/jed

Expand Down
5 changes: 3 additions & 2 deletions mail/wmbiff/Makefile
@@ -1,6 +1,6 @@
PORTNAME= wmbiff
PORTVERSION= 0.4.36
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= mail windowmaker afterstep
MASTER_SITES= https://www.dockapps.net/download/

Expand All @@ -13,7 +13,8 @@ LICENSE= GPLv2
USES= pkgconfig xorg

USE_XORG= x11 xext xpm
HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
SUB_FILES= pkg-message

OPTIONS_DEFINE= GNUTLS
Expand Down
5 changes: 3 additions & 2 deletions net-mgmt/iprange/Makefile
@@ -1,6 +1,6 @@
PORTNAME= iprange
PORTVERSION= 1.0.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net-mgmt
MASTER_SITES= https://github.com/firehol/iprange/releases/download/v${PORTVERSION}/

Expand All @@ -12,7 +12,8 @@ LICENSE= GPLv2+

USES= tar:xz

HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share

PLIST_FILES= bin/iprange \
share/man/man1/iprange.1.gz
Expand Down
5 changes: 3 additions & 2 deletions net/libpcap/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libpcap
PORTVERSION= 1.10.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.tcpdump.org/release/

Expand All @@ -17,7 +17,8 @@ USES= bison cpe gmake ssl
CPE_VENDOR= tcpdump

USE_LDCONFIG= yes
HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS+=--enable-dbus=no \
--with-pcap=bpf
CONFIGURE_ENV+= LEX=${LOCALBASE}/bin/flex
Expand Down
5 changes: 3 additions & 2 deletions net/rinetd/Makefile
@@ -1,6 +1,6 @@
PORTNAME= rinetd
PORTVERSION= 0.73
PORTREVISION= 1
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= net

Expand All @@ -16,7 +16,8 @@ GH_ACCOUNT= samhocevar
GH_TAGNAME= d4e0a60
USE_RC_SUBR= rinetd

HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share

PORTDOCS= index.html

Expand Down
5 changes: 3 additions & 2 deletions net/tcpdump/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tcpdump
PORTVERSION= 4.99.4
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.tcpdump.org/release/

Expand All @@ -18,7 +18,8 @@ LIB_DEPENDS= libpcap.so.1:net/libpcap

USES= cpe gmake

HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share

PLIST_FILES= sbin/tcpdump \
share/man/man1/tcpdump.1.gz
Expand Down
5 changes: 3 additions & 2 deletions security/sudo/Makefile
@@ -1,6 +1,6 @@
PORTNAME= sudo
PORTVERSION= 1.9.15p5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= SUDO

Expand All @@ -16,7 +16,8 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= cpe libtool pkgconfig
CPE_VENDOR= todd_miller
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --mandir=${PREFIX}/share/man \
--sysconfdir=${PREFIX}/etc \
--with-env-editor \
Expand Down
5 changes: 3 additions & 2 deletions shells/scponly/Makefile
@@ -1,6 +1,6 @@
PORTNAME= scponly
PORTVERSION= 4.8.20110526
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= shells security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-snapshots
DISTNAME= ${PORTNAME}-20110526
Expand All @@ -14,7 +14,8 @@ LICENSE= BSD2CLAUSE
USES= cpe tar:tgz

PORTDOCS= BUILDING-JAILS.TXT INSTALL README SECURITY
HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share

OPTIONS_DEFINE= CHROOT DEFAULT_CHDIR DOCS GFTP RSYNC SCP SUBVERSION SVNSERVE \
UNISON WILDCARDS WINSCP
Expand Down
5 changes: 3 additions & 2 deletions www/sarg/Makefile
@@ -1,6 +1,6 @@
PORTNAME= sarg
PORTVERSION= 2.4.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

Expand All @@ -18,7 +18,8 @@ OPTIONS_SUB= yes
PHP_DESC= Install PHP for reporting generating

USES= autoreconf gmake
HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --sysconfdir="${ETCDIR}" \
--enable-fontdir="${ETCDIR}/fonts" \
--enable-imagedir="${ETCDIR}/images"
Expand Down
5 changes: 3 additions & 2 deletions www/squidclamav/Makefile
@@ -1,6 +1,6 @@
PORTNAME= squidclamav
PORTVERSION= 7.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www security
MASTER_SITES= SF

Expand All @@ -17,7 +17,8 @@ USES= cpe libtool shebangfix
CPE_VENDOR= darold

SHEBANG_FILES= cgi-bin/clwarn.cgi*
HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --enable-shared --enable-static \
--sysconfdir="${PREFIX}/etc/c-icap" \
--with-c-icap=${LOCALBASE}
Expand Down

0 comments on commit 08a9c4d

Please sign in to comment.