1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Bump PORTREVISION for fixng GNU/Linux compatibility,

add REINPLACE

PR:		ports/187559
Submitted by:	Lawrence "The Dreamer" Chen <beastie@tardisi.com>
This commit is contained in:
Rusmir Dusko 2014-03-26 18:08:31 +00:00
parent 1c990c8f51
commit 5b6b22325d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349276

View File

@ -3,6 +3,7 @@
PORTNAME= parcellite
PORTVERSION= 1.1.7
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= deskutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@ -31,6 +32,9 @@ SUB_FILES= pkg-message
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|"/proc/|"/compat/linux/proc/|; \
s|"/proc"|"/compat/linux/proc"|' \
${WRKSRC}/src/utils.c
.if ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -e 's|$$(DATADIRNAME)/locale|share/locale|' \
${WRKSRC}/po/Makefile.in.in