aboutsummaryrefslogtreecommitdiff
path: root/net/svnc
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2003-11-21 03:54:26 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2003-11-21 03:54:26 +0000
commit2ddbdbf18c35ba21d73f74ffb7d06fd6dce5c7b2 (patch)
tree3b92a13f0f321aa898f656b3414b35daa3395512 /net/svnc
parentfc755d51f2139ae9889f9dcf7f09e10a99c4af31 (diff)
downloadports-2ddbdbf18c35ba21d73f74ffb7d06fd6dce5c7b2.tar.gz
ports-2ddbdbf18c35ba21d73f74ffb7d06fd6dce5c7b2.zip
Notes
Diffstat (limited to 'net/svnc')
-rw-r--r--net/svnc/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/svnc/Makefile b/net/svnc/Makefile
index 5d9a82ed44e0..736485349132 100644
--- a/net/svnc/Makefile
+++ b/net/svnc/Makefile
@@ -24,12 +24,14 @@ DOCFILES= README
DOCDIR= share/doc/${PORTNAME}/
ONLY_FOR_ARCHS= i386
PLIST= ${WRKDIR}/pkg-plist
-USE_PERL5_BUILD=yes
WRKSRC= ${WRKDIR}/svncviewer
do-patch:
- ${PERL} -pi -e "s:include <vncviewer.h>:include \"vncviewer.h\":g" \
- ${WRKSRC}/*c
+.for ii in args kbd listen rfbproto sockets svga svncviewer vncviewer
+ @${MV} ${WRKSRC}/${ii}.c ${WRKSRC}/${ii}.c.orig
+ @${SED} -e "s:include <vncviewer.h>:include \"vncviewer.h\":g" \
+ < ${WRKSRC}/${ii}.c.orig > ${WRKSRC}/${ii}.c
+.endfor
do-build:
cd ${WRKDIR}/vnc_unixsrc/libvncauth && \