Re: git: 4ab6c1871671 - main - */*: Remove GNU_CONFIGURE_MANPREFIX

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Sun, 28 Apr 2024 12:26:16 UTC
Hello Emanuel,

I did the same for my ports and I'm doing it when it applies to ports from
PRs updates.
Today I found a problem when I tried to cherry-pick a port without
GNU_CONFIGURE_MANPREFIX fix as it appears that 2024Q2 doesn't have
9fd7ee1cdf6c applied.

I've checked Mk/bsd.port.mk and it remains pointed to man and not share/man.

Am I missing something? I was thinking that 2024Q2 was delayd because of
this...

Here is a case where I did remove manprefix fix and tried to cherry-pick to
quarterly.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278589

Cheers,

Emanuel Haupt <ehaupt@freebsd.org> escreveu (sexta, 12/04/2024 à(s) 20:36):

> The branch main has been updated by ehaupt:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=4ab6c187167138ea25beea8021ea99c304f3b87c
>
> commit 4ab6c187167138ea25beea8021ea99c304f3b87c
> Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
> AuthorDate: 2024-04-12 19:35:43 +0000
> Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
> CommitDate: 2024-04-12 19:35:43 +0000
>
>     */*: Remove GNU_CONFIGURE_MANPREFIX
>
>     After 9fd7ee1cdf6c remove GNU_CONFIGURE_MANPREFIX from my ports.
> ---
>  audio/adplay/Makefile            | 1 -
>  audio/checkmate/Makefile         | 1 -
>  audio/gbsplay/Makefile           | 1 -
>  audio/libadplug/Makefile         | 1 -
>  audio/libopenmpt/Makefile        | 1 -
>  audio/mikmod/Makefile            | 1 -
>  audio/ocp/Makefile               | 1 -
>  audio/schismtracker/Makefile     | 1 -
>  audio/shairport-sync/Makefile    | 1 -
>  audio/sidplayfp/Makefile         | 1 -
>  audio/xmp/Makefile               | 1 -
>  converters/drg2sbg/Makefile      | 1 -
>  ftp/weex/Makefile                | 1 -
>  games/xcowsay/Makefile           | 1 -
>  graphics/exrtools/Makefile       | 1 -
>  graphics/iec16022/Makefile       | 1 -
>  graphics/jpegoptim/Makefile      | 1 -
>  graphics/largetifftools/Makefile | 1 -
>  graphics/recoverjpeg/Makefile    | 1 -
>  mail/isync/Makefile              | 1 -
>  math/form/Makefile               | 1 -
>  misc/bestfit/Makefile            | 1 -
>  misc/shc/Makefile                | 1 -
>  misc/talkfilters/Makefile        | 1 -
>  net-mgmt/driftnet/Makefile       | 1 -
>  net-mgmt/packit/Makefile         | 1 -
>  net/nload/Makefile               | 1 -
>  net/tsocks/Makefile              | 1 -
>  security/op/Makefile             | 1 -
>  shells/bash/Makefile             | 1 -
>  sysutils/dvdbackup/Makefile      | 1 -
>  sysutils/fdupes/Makefile         | 1 -
>  sysutils/fusefs-ext2/Makefile    | 1 -
>  sysutils/logstalgia/Makefile     | 1 -
>  sysutils/magicrescue/Makefile    | 1 -
>  sysutils/tmpreaper/Makefile      | 1 -
>  x11-fm/xfe/Makefile              | 1 -
>  x11/xterm/Makefile               | 1 -
>  38 files changed, 38 deletions(-)
>
> diff --git a/audio/adplay/Makefile b/audio/adplay/Makefile
> index 8b2964a8dc3a..fd1d50072c6e 100644
> --- a/audio/adplay/Makefile
> +++ b/audio/adplay/Makefile
> @@ -22,7 +22,6 @@ GH_PROJECT=   ${PORTNAME}-unix
>  GH_TUPLE=      adplug:database:${DBVERSION}:database/database-${DBVERSION}
>
>  GNU_CONFIGURE=                 yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>  CONFIGURE_ARGS+=               --sharedstatedir=${DATADIR}
>
>  PLIST_FILES=   ${DATADIR}/adplug/adplug.db \
> diff --git a/audio/checkmate/Makefile b/audio/checkmate/Makefile
> index b958095e23cd..4fe8a6f123d5 100644
> --- a/audio/checkmate/Makefile
> +++ b/audio/checkmate/Makefile
> @@ -12,7 +12,6 @@ WWW=          https://checkmate.gissen.nl/
>  LICENSE=       GPLv2
>
>  GNU_CONFIGURE=                 yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  PLIST_FILES=   bin/mpck \
>                 share/man/man1/mpck.1.gz
> diff --git a/audio/gbsplay/Makefile b/audio/gbsplay/Makefile
> index 161281a65de1..5018fd235b09 100644
> --- a/audio/gbsplay/Makefile
> +++ b/audio/gbsplay/Makefile
> @@ -20,7 +20,6 @@ USE_GITHUB=   yes
>  GH_ACCOUNT=    mmitch
>
>  HAS_CONFIGURE=                 yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  CONFIGURE_ARGS+=       --mandir=${PREFIX}/share/man \
>                         --prefix=${PREFIX} \
> diff --git a/audio/libadplug/Makefile b/audio/libadplug/Makefile
> index 83af3dd7a41f..9c33981b3f2d 100644
> --- a/audio/libadplug/Makefile
> +++ b/audio/libadplug/Makefile
> @@ -21,7 +21,6 @@ USE_GITHUB=   yes
>  USE_LDCONFIG=  yes
>
>  GNU_CONFIGURE=         yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>  CONFIGURE_ARGS+=       --enable-maintainer-mode
>
>  INSTALL_TARGET=        install-strip
> diff --git a/audio/libopenmpt/Makefile b/audio/libopenmpt/Makefile
> index c14441dd9a29..ec391ccd104f 100644
> --- a/audio/libopenmpt/Makefile
> +++ b/audio/libopenmpt/Makefile
> @@ -20,7 +20,6 @@ CPE_VENDOR=   openmpt
>  USE_LDCONFIG=  yes
>
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=     ${PREFIX}/share
>
>  CONFIGURE_ARGS=        --disable-doxygen-doc \
>                 --with-mpg123 \
> diff --git a/audio/mikmod/Makefile b/audio/mikmod/Makefile
> index e7825237252e..340f948e5d6e 100644
> --- a/audio/mikmod/Makefile
> +++ b/audio/mikmod/Makefile
> @@ -15,7 +15,6 @@ LIB_DEPENDS=  libmikmod.so:audio/libmikmod
>
>  USES=                          gmake ncurses
>  GNU_CONFIGURE=                 yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  PLIST_FILES=   %%DATADIR%%/mikmodrc \
>                 bin/mikmod \
> diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile
> index bb84fdf845c5..101cab5cc19e 100644
> --- a/audio/ocp/Makefile
> +++ b/audio/ocp/Makefile
> @@ -27,7 +27,6 @@ USES=         compiler:c11 dos2unix gmake gnome iconv
> jpeg localbase:ldflags \
>                 makeinfo ncurses pkgconfig shared-mime-info tar:xz
>
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>  CONFIGURE_ARGS=        --libdir=${PREFIX}/lib \
>                 --with-dir-suffix="" \
>                 --without-sdl \
> diff --git a/audio/schismtracker/Makefile b/audio/schismtracker/Makefile
> index 058898d4f279..0442dcee1207 100644
> --- a/audio/schismtracker/Makefile
> +++ b/audio/schismtracker/Makefile
> @@ -16,7 +16,6 @@ USES=         compiler:c++11-lib desktop-file-utils
> localbase python sdl xorg
>  USE_SDL=       sdl2
>  USE_XORG=      x11 xext xv
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  WRKSRC=                ${WRKDIR}/${PORTNAME}-${DISTVERSION}
>
> diff --git a/audio/shairport-sync/Makefile b/audio/shairport-sync/Makefile
> index ff0310be718b..6361293e7fac 100644
> --- a/audio/shairport-sync/Makefile
> +++ b/audio/shairport-sync/Makefile
> @@ -21,7 +21,6 @@ GH_ACCOUNT=   mikebrady
>  USE_RC_SUBR=   ${PORTNAME}
>
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>  CONFIGURE_ARGS=        --sysconfdir=${LOCALBASE}/etc \
>                 --with-avahi \
>                 --with-libdaemon \
> diff --git a/audio/sidplayfp/Makefile b/audio/sidplayfp/Makefile
> index 7cce2e74052c..e1c0cb3f4c06 100644
> --- a/audio/sidplayfp/Makefile
> +++ b/audio/sidplayfp/Makefile
> @@ -14,7 +14,6 @@ LIB_DEPENDS=  libstilview.so:audio/libsidplayfp
>
>  USES=                          compiler:c++17-lang localbase:ldflags
> pkgconfig
>  GNU_CONFIGURE=                 yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  PLIST_FILES=   bin/sidplayfp \
>                 bin/stilview \
> diff --git a/audio/xmp/Makefile b/audio/xmp/Makefile
> index 455690ce82bb..6b7460f82084 100644
> --- a/audio/xmp/Makefile
> +++ b/audio/xmp/Makefile
> @@ -15,7 +15,6 @@ LIB_DEPENDS=  libxmp.so:audio/libxmp
>
>  USES=          gmake localbase:ldflags pkgconfig
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  CONFIGURE_ARGS+=       --sysconfdir=${PREFIX}/etc
>
> diff --git a/converters/drg2sbg/Makefile b/converters/drg2sbg/Makefile
> index 9152a8800b1f..e2c3ecc957da 100644
> --- a/converters/drg2sbg/Makefile
> +++ b/converters/drg2sbg/Makefile
> @@ -14,7 +14,6 @@ USES=         autoreconf
>  USE_GITHUB=    yes
>  GH_ACCOUNT=    manuel-arguelles
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  PLIST_FILES=   bin/drg2sbg \
>                 bin/drgbuilder \
> diff --git a/ftp/weex/Makefile b/ftp/weex/Makefile
> index 6bba7da974de..e05cf9e71016 100644
> --- a/ftp/weex/Makefile
> +++ b/ftp/weex/Makefile
> @@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/doc/COPYING
>  USES=          autoreconf cpe gettext-tools gmake ssl
>
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>  CONFIGURE_ARGS=
> --with-cafile=${LOCALBASE}/share/certs/ca-root-nss.crt
>  CPPFLAGS+=     -I${OPENSSLINC}
>  LIBS+=         -L${OPENSSLLIB}
> diff --git a/games/xcowsay/Makefile b/games/xcowsay/Makefile
> index dee3e30933cf..b238df704cec 100644
> --- a/games/xcowsay/Makefile
> +++ b/games/xcowsay/Makefile
> @@ -19,7 +19,6 @@ USES=         gettext gmake gnome pkgconfig
>  USE_CSTD=      c99
>  USE_GNOME=     cairo gdkpixbuf2 gtk30
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  OPTIONS_DEFINE=        DBUS
>
> diff --git a/graphics/exrtools/Makefile b/graphics/exrtools/Makefile
> index 3dbe824bb84f..de36ba2c7413 100644
> --- a/graphics/exrtools/Makefile
> +++ b/graphics/exrtools/Makefile
> @@ -18,7 +18,6 @@ LIB_DEPENDS=  libImath.so:math/Imath \
>  USES=          compiler:c++11-lang gmake jpeg localbase:ldflags pkgconfig
>
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  post-patch:
>         @${REINPLACE_CMD} -e 's|<values\.h>|<float.h>|' \
> diff --git a/graphics/iec16022/Makefile b/graphics/iec16022/Makefile
> index 8e85da518658..7e3574e6167a 100644
> --- a/graphics/iec16022/Makefile
> +++ b/graphics/iec16022/Makefile
> @@ -15,7 +15,6 @@ LIB_DEPENDS=  libpopt.so:devel/popt
>  USES=          gmake libtool pathfix pkgconfig tar:xz
>  USE_LDCONFIG=  yes
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  INSTALL_TARGET=        install-strip
>
> diff --git a/graphics/jpegoptim/Makefile b/graphics/jpegoptim/Makefile
> index 80687e790431..e3469b86cfc3 100644
> --- a/graphics/jpegoptim/Makefile
> +++ b/graphics/jpegoptim/Makefile
> @@ -15,7 +15,6 @@ USES=         cpe gmake jpeg localbase:ldflags
>  CPE_VENDOR=    ${PORTNAME}_project
>
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  PLIST_FILES=   bin/jpegoptim \
>                 share/man/man1/jpegoptim.1.gz
> diff --git a/graphics/largetifftools/Makefile
> b/graphics/largetifftools/Makefile
> index c76a22fa0121..a5ec69835fff 100644
> --- a/graphics/largetifftools/Makefile
> +++ b/graphics/largetifftools/Makefile
> @@ -17,6 +17,5 @@ LIB_DEPENDS=  libpng.so:graphics/png \
>
>  USES=          autoreconf jpeg localbase:ldconfig tar:bzip2
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  .include <bsd.port.mk>
> diff --git a/graphics/recoverjpeg/Makefile b/graphics/recoverjpeg/Makefile
> index 7995718b127f..6b41820b984d 100644
> --- a/graphics/recoverjpeg/Makefile
> +++ b/graphics/recoverjpeg/Makefile
> @@ -16,6 +16,5 @@ RUN_DEPENDS=  exif:graphics/exif
>  USES=          magick:6,run python shebangfix
>  SHEBANG_FILES= scripts/remove-duplicates
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  .include <bsd.port.mk>
> diff --git a/mail/isync/Makefile b/mail/isync/Makefile
> index 102c4822f7d7..95a9db252ac8 100644
> --- a/mail/isync/Makefile
> +++ b/mail/isync/Makefile
> @@ -18,7 +18,6 @@ CPE_VENDOR=   isync_project
>  USE_PERL5=     build
>
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  CONFIGURE_ARGS=        --with-sasl=${LOCALBASE} \
>                 --with-ssl=${OPENSSLLIB:H}
> diff --git a/math/form/Makefile b/math/form/Makefile
> index dd38ff7c9421..e3d414ced46c 100644
> --- a/math/form/Makefile
> +++ b/math/form/Makefile
> @@ -18,7 +18,6 @@ USE_GITHUB=   yes
>  GH_ACCOUNT=    vermaseren
>
>  GNU_CONFIGURE=         yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>  CONFIGURE_ARGS+=       --disable-native \
>                         --enable-largefile \
>                         --enable-scalar \
> diff --git a/misc/bestfit/Makefile b/misc/bestfit/Makefile
> index 34dbaf0d038c..ef882d72c21c 100644
> --- a/misc/bestfit/Makefile
> +++ b/misc/bestfit/Makefile
> @@ -11,7 +11,6 @@ WWW=
> https://savannah.nongnu.org/projects/bestfit/
>  LICENSE=       GPLv2
>
>  GNU_CONFIGURE=                 yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  PLIST_FILES=   bin/bestfit \
>                 share/man/man1/bestfit.1.gz
> diff --git a/misc/shc/Makefile b/misc/shc/Makefile
> index f0d93c2280c4..9257a0accb15 100644
> --- a/misc/shc/Makefile
> +++ b/misc/shc/Makefile
> @@ -13,7 +13,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING
>  USES=          tar:tgz
>
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
>
>  USE_GITHUB=    yes
>  GH_ACCOUNT=    neurobin
> diff --git a/misc/talkfilters/Makefile b/misc/talkfilters/Makefile
> index d3a6375016f5..ea0448625317 100644
> --- a/misc/talkfilters/Makefile
> +++ b/misc/talkfilters/Makefile
> @@ -14,7 +14,6 @@ LICENSE=      GPLv2
>  USES=          libtool pathfix
>  USE_LDCONFIG=  yes
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>  CONFLICTS=     chef filters
>
>  SUB_FILES=     pkg-message
> diff --git a/net-mgmt/driftnet/Makefile b/net-mgmt/driftnet/Makefile
> index e0fa1cb724f1..ed5af6b17c09 100644
> --- a/net-mgmt/driftnet/Makefile
> +++ b/net-mgmt/driftnet/Makefile
> @@ -26,7 +26,6 @@ USE_GNOME=    gtk20
>  USE_XORG=      x11 xext xi
>
>  GNU_CONFIGURE=         yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>  CONFIGURE_ARGS+=       --disable-debug
>
>  INSTALL_TARGET=        install-strip
> diff --git a/net-mgmt/packit/Makefile b/net-mgmt/packit/Makefile
> index 968a3096c023..b8a26e54683e 100644
> --- a/net-mgmt/packit/Makefile
> +++ b/net-mgmt/packit/Makefile
> @@ -17,7 +17,6 @@ USE_GITHUB=   yes
>  GH_ACCOUNT=    eribertomota
>
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  PLIST_FILES=   share/man/man8/packit.8.gz \
>                 sbin/packit
> diff --git a/net/nload/Makefile b/net/nload/Makefile
> index 616a4ff31521..0256d1f5cbe7 100644
> --- a/net/nload/Makefile
> +++ b/net/nload/Makefile
> @@ -13,7 +13,6 @@ LICENSE=      GPLv2
>
>  USES=                          ncurses
>  GNU_CONFIGURE=                 yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  PLIST_FILES=   bin/nload \
>                 share/man/man1/nload.1.gz
> diff --git a/net/tsocks/Makefile b/net/tsocks/Makefile
> index c326ed48ea4d..f40c812581ef 100644
> --- a/net/tsocks/Makefile
> +++ b/net/tsocks/Makefile
> @@ -17,7 +17,6 @@ USES=         gmake
>  USE_LDCONFIG=  yes
>
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>  CONFIGURE_ARGS=        --libdir=${PREFIX}/lib \
>                 --with-conf=${PREFIX}/etc/tsocks.conf
>
> diff --git a/security/op/Makefile b/security/op/Makefile
> index e6e5c20d4316..99ba13194096 100644
> --- a/security/op/Makefile
> +++ b/security/op/Makefile
> @@ -14,7 +14,6 @@ USE_GITHUB=   yes
>  GH_ACCOUNT=    dagwieers
>
>  GNU_CONFIGURE=         yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>  CONFLICTS_INSTALL=     security/1password-client
>
>  post-configure:
> diff --git a/shells/bash/Makefile b/shells/bash/Makefile
> index cb8a69084362..01ccee28b770 100644
> --- a/shells/bash/Makefile
> +++ b/shells/bash/Makefile
> @@ -23,7 +23,6 @@ LICENSE_FILE=         ${WRKSRC}/COPYING
>  USES=                  bison cpe iconv localbase pathfix
>  CPE_VENDOR=            gnu
>  GNU_CONFIGURE=         yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>  CONFIGURE_ARGS+=       --without-bash-malloc \
>                         --disable-rpath \
>                         --enable-disabled-builtins \
> diff --git a/sysutils/dvdbackup/Makefile b/sysutils/dvdbackup/Makefile
> index 84556e86c781..3be17693be0b 100644
> --- a/sysutils/dvdbackup/Makefile
> +++ b/sysutils/dvdbackup/Makefile
> @@ -14,7 +14,6 @@ LIB_DEPENDS=  libdvdread.so:multimedia/libdvdread
>
>  USES=          gmake
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  CPPFLAGS+=     -I${LOCALBASE}/include
>  LDFLAGS+=      -L${LOCALBASE}/lib
> diff --git a/sysutils/fdupes/Makefile b/sysutils/fdupes/Makefile
> index dbec792e5382..b371bcbd3db9 100644
> --- a/sysutils/fdupes/Makefile
> +++ b/sysutils/fdupes/Makefile
> @@ -12,7 +12,6 @@ LICENSE=      MIT
>
>  USES=          localbase pkgconfig
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  PLIST_FILES=   bin/fdupes \
>                 share/man/man1/fdupes.1.gz
> diff --git a/sysutils/fusefs-ext2/Makefile b/sysutils/fusefs-ext2/Makefile
> index b8f0b14e591b..4abe54509279 100644
> --- a/sysutils/fusefs-ext2/Makefile
> +++ b/sysutils/fusefs-ext2/Makefile
> @@ -21,7 +21,6 @@ GH_PROJECT=   fuse-ext2
>  GH_TAGNAME=    ea7bacf
>
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  CPPFLAGS+=     -I${LOCALBASE}/include/e2fsprogs
>  LDFLAGS+=      -L${LOCALBASE}/lib/e2fsprogs -Wl,--rpath \
> diff --git a/sysutils/logstalgia/Makefile b/sysutils/logstalgia/Makefile
> index 68a4ab259ff4..abddbb592d97 100644
> --- a/sysutils/logstalgia/Makefile
> +++ b/sysutils/logstalgia/Makefile
> @@ -25,7 +25,6 @@ USE_SDL=      image2 sdl2
>  USE_XORG=      x11
>
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  post-patch:
>         @${REINPLACE_CMD} -e 's| -Wno-unused-but-set-variable||' \
> diff --git a/sysutils/magicrescue/Makefile b/sysutils/magicrescue/Makefile
> index aa1d45f57b4f..60826c1955af 100644
> --- a/sysutils/magicrescue/Makefile
> +++ b/sysutils/magicrescue/Makefile
> @@ -19,7 +19,6 @@ USE_PERL5=    run
>  SHEBANG_FILES= magicsort tools/*.pl tools/checkrecipe
>
>  HAS_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>  CONFIGURE_ARGS=        --prefix=${PREFIX}
>
>  MAKE_ENV+=     STAGEDIR=${STAGEDIR}
> diff --git a/sysutils/tmpreaper/Makefile b/sysutils/tmpreaper/Makefile
> index a5e80369c529..8e9829778e1c 100644
> --- a/sysutils/tmpreaper/Makefile
> +++ b/sysutils/tmpreaper/Makefile
> @@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING
>  USES=                          autoreconf cpe
>  CPE_VENDOR=                    debian
>  GNU_CONFIGURE=                 yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  INSTALL_TARGET=        install-strip
>
> diff --git a/x11-fm/xfe/Makefile b/x11-fm/xfe/Makefile
> index 510f25ab257b..95aac51492dc 100644
> --- a/x11-fm/xfe/Makefile
> +++ b/x11-fm/xfe/Makefile
> @@ -22,7 +22,6 @@ USE_GNOME=    intltool
>  USE_XORG=      x11 xcb xft xrandr xrender
>
>  GNU_CONFIGURE= yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>
>  LDFLAGS+=      -pthread
>
> diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile
> index ff7c455250d6..72c8cffcc3bc 100644
> --- a/x11/xterm/Makefile
> +++ b/x11/xterm/Makefile
> @@ -21,7 +21,6 @@ USES=                 cpe localbase ncurses tar:tgz xorg
>  CPE_VENDOR=            invisible-island
>  USE_XORG=              ice x11 xext xft xmu xpm xt
>  GNU_CONFIGURE=         yes
> -GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
>  CONFIGURE_ARGS+=       --enable-narrowproto \
>                         --with-utempter
>
>

-- 
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org