Skip to content

Commit

Permalink
*/*: convert Makefile patches to MAKE_ARGS after "Move man pages to s…
Browse files Browse the repository at this point in the history
…hare/man"

Replaced patches for Makefiles with "MAKE_ARGS+=MANDIR=${PREFIX}/share/man"

Reported by:	danfe, mat
Approved by:	portmgr (blanket)
  • Loading branch information
Vladimir Druzenko authored and Vladimir Druzenko committed Mar 10, 2024
1 parent 4747a5b commit 79f8f9c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 52 deletions.
2 changes: 2 additions & 0 deletions net/mpd5/Makefile
Expand Up @@ -14,6 +14,8 @@ LICENSE= BSD3CLAUSE

USES= cpe

MAKE_ARGS+= MANDIR=${PREFIX}/share/man/man

CPE_VENDOR= mpd_project

OPTIONS_DEFINE= DOCS NG_IPACCT RADIUS
Expand Down
11 changes: 0 additions & 11 deletions net/mpd5/files/patch-doc_Makefile

This file was deleted.

2 changes: 2 additions & 0 deletions ports-mgmt/dialog4ports/Makefile
Expand Up @@ -16,6 +16,8 @@ LICENSE= BSD2CLAUSE

USES= uidfix

MAKE_ARGS+= MAN1DIR=${PREFIX}/share/man/man1

# CCACHE has options, so may need d4p, make d4p not ccache friendly
# to avoid circular dependency
NO_CCACHE= yes
Expand Down
8 changes: 2 additions & 6 deletions ports-mgmt/dialog4ports/files/patch-Makefile
@@ -1,6 +1,6 @@
--- Makefile.orig 2016-07-08 14:49:08 UTC
+++ Makefile
@@ -5,10 +5,15 @@ RM?= rm
@@ -5,7 +5,12 @@ RM?= rm
MAN= ${PROG}.1.gz
PROG= dialog4ports
CFLAGS+= -Wall -pedantic
Expand All @@ -13,8 +13,4 @@
+LDADD+= -lm
PREFIX?= /usr/local
BINDIR= ${PREFIX}/bin
-MAN1DIR= ${PREFIX}/man/man1
+MAN1DIR= ${PREFIX}/share/man/man1
BSD_INSTALL_PROGRAM?= install -m 0555
BSD_INSTALL_DATA?= install -m 0444

MAN1DIR= ${PREFIX}/man/man1
2 changes: 2 additions & 0 deletions security/unix-selfauth-helper/Makefile
Expand Up @@ -12,6 +12,8 @@ LICENSE= BSD2CLAUSE

USES= tar:xz

MAKE_ARGS+= MANDIR=${PREFIX}/share/man/man

PLIST_FILES= etc/pam.d/unix-selfauth \
libexec/unix-selfauth-helper \
share/man/man8/unix-selfauth-helper.8.gz
Expand Down
11 changes: 0 additions & 11 deletions security/unix-selfauth-helper/files/patch-Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion sysutils/lmmon/Makefile
Expand Up @@ -11,7 +11,7 @@ LICENSE= BSD2CLAUSE

USES= ncurses uidfix
GNU_CONFIGURE= yes
MAKE_ARGS+= LDFLAGS="${LDFLAGS} -lncurses"
MAKE_ARGS+= LDFLAGS="${LDFLAGS} -lncurses" MANDIR=${PREFIX}/share/man/man

ONLY_FOR_ARCHS= i386 amd64

Expand Down
11 changes: 0 additions & 11 deletions sysutils/lmmon/files/patch-Makefile.in

This file was deleted.

2 changes: 1 addition & 1 deletion sysutils/pftop/Makefile
Expand Up @@ -21,7 +21,7 @@ ALTQ_DESC= ALTQ support for queue statistics

.include <bsd.port.options.mk>

MAKE_ARGS= LOCALBASE="${PREFIX}"
MAKE_ARGS= LOCALBASE="${PREFIX}" MANDIR=${PREFIX}/share/man/man

CFLAGS+= -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1

Expand Down
11 changes: 0 additions & 11 deletions sysutils/pftop/files/patch-Makefile

This file was deleted.

0 comments on commit 79f8f9c

Please sign in to comment.