Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2013 19:00:07 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336202 - head/graphics/viewnior
Message-ID:  <201312111900.rBBJ07c2003424@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Wed Dec 11 19:00:07 2013
New Revision: 336202
URL: http://svnweb.freebsd.org/changeset/ports/336202

Log:
  - Use REINPLACE_CMD instead of USES pathfix (revert)
  
  Approved by:	pawel / wg (mentors, implicit)

Modified:
  head/graphics/viewnior/Makefile

Modified: head/graphics/viewnior/Makefile
==============================================================================
--- head/graphics/viewnior/Makefile	Wed Dec 11 18:51:34 2013	(r336201)
+++ head/graphics/viewnior/Makefile	Wed Dec 11 19:00:07 2013	(r336202)
@@ -12,8 +12,7 @@ COMMENT=	Fast and simple image viewer
 
 LICENSE=	GPLv3
 
-USES=		gmake pathfix pkgconfig shared-mime-info
-PATHFIX_MAKEFILEIN=	Makefile.in.in
+USES=		gmake pkgconfig shared-mime-info
 USE_AUTOTOOLS=	autoconf
 GNU_CONFIGURE=	yes
 USE_GNOME=	glib20 gtk20
@@ -29,6 +28,9 @@ NLS_USES=	gettext
 .include <bsd.port.options.mk>
 
 post-patch:
+	@${REINPLACE_CMD} -e 's|$$(prefix)/$$(DATADIRNAME)/locale|$$(datarootdir)/locale|' \
+		${WRKSRC}/po/Makefile.in.in
+
 .if ! ${PORT_OPTIONS:MNLS}
 	@${REINPLACE_CMD} -e 's|install: install-data|install:|' ${WRKSRC}/po/Makefile.in.in
 .endif



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