pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/gtk-vnc The GTK3 build of this package removes the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b5d72b97d93
branches:  trunk
changeset: 629528:1b5d72b97d93
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jan 22 17:30:36 2014 +0000

description:
The GTK3 build of this package removes the vnc_image_framebuffer_* functions,
however they are still listed in the shared mapfile.  The SunOS linker is more
strict and declares them undefined, so avoid the mapfile on SunOS for the GTK3
build.

diffstat:

 net/gtk-vnc/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 7929c72e5133 -r 1b5d72b97d93 net/gtk-vnc/Makefile
--- a/net/gtk-vnc/Makefile      Wed Jan 22 16:21:00 2014 +0000
+++ b/net/gtk-vnc/Makefile      Wed Jan 22 17:30:36 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2014/01/01 11:52:29 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2014/01/22 17:30:36 jperkin Exp $
 #
 
 DISTNAME=      gtk-vnc-0.5.2
@@ -44,6 +44,14 @@
        && ${PKGSRC_SETENV} ${CONFIGURE_ENV} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} \
        --with-gtk=3.0
 
+# The GTK3 build excludes some functions which are still listed in the mapfile.
+.if ${OPSYS} == "SunOS"
+SUBST_CLASSES+=                mapfile
+SUBST_STAGE.mapfile=   pre-build
+SUBST_FILES.mapfile=   gtk3-build/src/Makefile
+SUBST_SED.mapfile=     -e '/VERSION_SCRIPT_FLAGS.*GTK_VNC_VERSION_FILE/d'
+.endif
+
 #VIEW_REQUIRED=0.6.0
 #libview
 



Home | Main Index | Thread Index | Old Index