svn commit: r336202 - head/graphics/viewnior

Rusmir Dusko nemysis at FreeBSD.org
Wed Dec 11 19:00:08 UTC 2013


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


More information about the svn-ports-head mailing list