aboutsummaryrefslogtreecommitdiff
path: root/net/x11vnc
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-12-20 18:40:07 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-12-20 18:40:07 +0000
commit4eb7961c0d7c82485b76183c4162e4314b9d2150 (patch)
tree23e26fa1a9886a240e03643dac8cb7323073e2fd /net/x11vnc
parentf97c243ef865b1ae9bd55360c4fda58d13f4495d (diff)
downloadports-4eb7961c0d7c82485b76183c4162e4314b9d2150.tar.gz
ports-4eb7961c0d7c82485b76183c4162e4314b9d2150.zip
- Add devel/gettext dependancy using USE_GETTEXT=yes and
patches `configure' to include -lintl in LIBS= definition. - Bump portrevision PR: ports/129785 Submitted by: Pavel Gubin <pg@2lazy.ru>
Notes
Notes: svn path=/head/; revision=224509
Diffstat (limited to 'net/x11vnc')
-rw-r--r--net/x11vnc/Makefile8
-rw-r--r--net/x11vnc/files/patch-configure14
2 files changed, 18 insertions, 4 deletions
diff --git a/net/x11vnc/Makefile b/net/x11vnc/Makefile
index 6351dddc8ac5..532796f8c2bf 100644
--- a/net/x11vnc/Makefile
+++ b/net/x11vnc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= x11vnc
PORTVERSION= 0.9.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= SF
MASTER_SITE_SUBDIR=libvncserver
@@ -16,14 +16,14 @@ MAINTAINER= beech@FreeBSD.org
COMMENT= VNC server for use with real X displays
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
- dbus:${PORTSDIR}/devel/dbus
-# linking avahi is broken
-# avahi-common.3:${PORTSDIR}/net/avahi-app
+ dbus:${PORTSDIR}/devel/dbus \
+ avahi-common.3:${PORTSDIR}/net/avahi-app
USE_GNOME= gnometarget
USE_XORG= x11 xdamage xfixes xrandr xinerama xext xtst xau xrender xdmcp recordproto
USE_OPENSSL= yes
USE_ICONV= yes
+USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/net/x11vnc/files/patch-configure b/net/x11vnc/files/patch-configure
new file mode 100644
index 000000000000..33c431c23ac5
--- /dev/null
+++ b/net/x11vnc/files/patch-configure
@@ -0,0 +1,14 @@
+--- configure.orig 2008-12-20 16:02:44.000000000 +0600
++++ configure 2008-12-20 16:04:43.000000000 +0600
+@@ -13234,6 +13234,11 @@
+ WITH_X11VNC_TRUE='#'
+ WITH_X11VNC_FALSE=
+ fi
++if test "x$with_avahi" = "xyes"
++then
++ echo "configure: avahi used, forcing use -lintl"
++ LIBS="-lintl $LIBS"
++fi
+
+
+