summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-03-26 18:08:31 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-03-26 18:08:31 +0000
commit5b6b22325d7c158b6fd7e0016f4ac72f14d0b7c1 (patch)
treeff2b257fe15c44bee5deefac2f6f3f294f844167
parent1c990c8f51eb9079e70f72915985b483f32b1ac3 (diff)
downloadfreebsd-ports-5b6b22325d7c158b6fd7e0016f4ac72f14d0b7c1.zip
- Bump PORTREVISION for fixng GNU/Linux compatibility,
add REINPLACE PR: ports/187559 Submitted by: Lawrence "The Dreamer" Chen <beastie@tardisi.com>
-rw-r--r--deskutils/parcellite/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/deskutils/parcellite/Makefile b/deskutils/parcellite/Makefile
index 5c08b51e5078..008a4052c25e 100644
--- a/deskutils/parcellite/Makefile
+++ b/deskutils/parcellite/Makefile
@@ -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