Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2020 11:07:51 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r524936 - in head/misc/help2man: . files
Message-ID:  <202002021107.012B7puK090264@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Feb  2 11:07:51 2020
New Revision: 524936
URL: https://svnweb.freebsd.org/changeset/ports/524936

Log:
  Revert bindtextdomain.so location change in r267248
  
  - Bump PORTREVISION for package change
  
  help2man (with NLS enabled) installs bindtextdomain.so to ${PREFIX}/lib/help2man/ now.
  
  Reported by:	swills

Added:
  head/misc/help2man/files/
  head/misc/help2man/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/misc/help2man/Makefile

Modified: head/misc/help2man/Makefile
==============================================================================
--- head/misc/help2man/Makefile	Sun Feb  2 11:07:46 2020	(r524935)
+++ head/misc/help2man/Makefile	Sun Feb  2 11:07:51 2020	(r524936)
@@ -3,6 +3,7 @@
 
 PORTNAME=	help2man
 PORTVERSION=	1.47.12
+PORTREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	GNU
 
@@ -24,7 +25,7 @@ OPTIONS_DEFINE=	NLS
 
 NLS_BUILD_DEPENDS=	p5-Locale-gettext>=0:devel/p5-Locale-gettext
 NLS_CONFIGURE_ENABLE=	nls
-NLS_PLIST_FILES=	lib/bindtextdomain.so
+NLS_PLIST_FILES=	lib/help2man/bindtextdomain.so
 NLS_RUN_DEPENDS=	p5-Locale-gettext>=0:devel/p5-Locale-gettext
 NLS_USES=		gettext
 NLS_VARS=		CONFIGURE_FAIL_MESSAGE="Rebuild lang/${PERL_PORT} and devel/p5-Locale-gettext manually before contacting maintainer."
@@ -37,8 +38,5 @@ NLS_INFO+=		help2man-${lang}
 NLS_PLIST_FILES+=	man/${lang}/man1/help2man.1.gz \
 			share/locale/${lang}/LC_MESSAGES/help2man.mo
 .endfor
-
-post-patch:
-	@${REINPLACE_CMD} -e '/^pkglibdir/ s|/help2man$$||' ${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>

Added: head/misc/help2man/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/help2man/files/patch-Makefile.in	Sun Feb  2 11:07:51 2020	(r524936)
@@ -0,0 +1,18 @@
+--- Makefile.in.orig	2017-09-22 14:27:08 UTC
++++ Makefile.in
+@@ -60,7 +60,6 @@ all: $(target) man info @extra_make_all@
+ install: all install_base @extra_make_install@
+ install_dirs:
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
+-	$(MKINSTALLDIRS) $(DESTDIR)$(pkglibdir)
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
+ 
+@@ -77,6 +76,7 @@ install_base: install_dirs
+ 	fi
+ 
+ install_preload: install_dirs preload
++	$(MKINSTALLDIRS) $(DESTDIR)$(pkglibdir)
+ 	$(INSTALL_PROGRAM) $(preload).so $(DESTDIR)$(pkglibdir)
+ 
+ install_l10n: install_dirs msg_l10n man_l10n info_l10n



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002021107.012B7puK090264>