diff options
author | nemysis <nemysis@FreeBSD.org> | 2013-12-12 03:00:07 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2013-12-12 03:00:07 +0800 |
commit | 05243c3f7630f20ec4b00fffe2f2a87cf47487f9 (patch) | |
tree | 533de88c82a4b7fe603716fdc465b0e7b20e4cd7 | |
parent | fffe53a8310e61998737e8c6ffc2e2954f8f68ba (diff) | |
download | freebsd-ports-gnome-05243c3f7630f20ec4b00fffe2f2a87cf47487f9.tar.gz freebsd-ports-gnome-05243c3f7630f20ec4b00fffe2f2a87cf47487f9.tar.zst freebsd-ports-gnome-05243c3f7630f20ec4b00fffe2f2a87cf47487f9.zip |
- Use REINPLACE_CMD instead of USES pathfix (revert)
Approved by: pawel / wg (mentors, implicit)
-rw-r--r-- | graphics/viewnior/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/viewnior/Makefile b/graphics/viewnior/Makefile index 160d083d4fd5..4dd1b905123c 100644 --- a/graphics/viewnior/Makefile +++ b/graphics/viewnior/Makefile @@ -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 |