aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2013-11-26 02:16:54 +0000
committerKevin Lo <kevlo@FreeBSD.org>2013-11-26 02:16:54 +0000
commit51b1189c76d1044dcebfe8f61e4026440af0aa38 (patch)
treeedb0573ef5b535bf26d2d606d3274222ba66f9f4 /sysutils
parentb5b282ff96e496cfbbd62fad5bd918f4e3929df1 (diff)
downloadports-51b1189c76d1044dcebfe8f61e4026440af0aa38.tar.gz
ports-51b1189c76d1044dcebfe8f61e4026440af0aa38.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/synergy/Makefile8
-rw-r--r--sysutils/synergy/files/patch-CConfig.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/synergy/Makefile b/sysutils/synergy/Makefile
index 5c9bcc5ed2f7..4e3d2e67c7e3 100644
--- a/sysutils/synergy/Makefile
+++ b/sysutils/synergy/Makefile
@@ -2,6 +2,7 @@
PORTNAME= synergy
PORTVERSION= 1.3.8
+PORTREVISION= 1
DISTVERSIONSUFFIX= -Source
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE
@@ -23,15 +24,14 @@ PLIST_FILES= bin/synergys bin/synergyc
PORTEXAMPLES= synergy.conf.example synergy.conf.example-basic \
synergy.conf.example-advanced
-NO_STAGE= yes
do-install:
.for f in synergys synergyc
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
.if !defined(NOPORTEXAMPLES)
- ${MKDIR} ${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.endif
diff --git a/sysutils/synergy/files/patch-CConfig.cpp b/sysutils/synergy/files/patch-CConfig.cpp
index 985bdf499b31..e9ba4102d999 100644
--- a/sysutils/synergy/files/patch-CConfig.cpp
+++ b/sysutils/synergy/files/patch-CConfig.cpp
@@ -1,5 +1,5 @@
--- src/lib/server/CConfig.cpp.orig 2011-01-21 11:51:35.000000000 +0800
-+++ src/lib/server/CConfig.cpp 2013-09-12 17:23:04.000000000 +0800
++++ src/lib/server/CConfig.cpp 2013-11-26 10:00:44.000000000 +0800
@@ -1908,9 +1908,9 @@
return m_line;
}
@@ -8,7 +8,7 @@
+CConfigReadContext::operator bool() const
{
- return m_stream;
-+ return !m_stream.bad();
++ return m_stream.good();
}
bool