diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-01-22 17:30:36 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-01-22 17:30:36 +0000 |
commit | b1e1180cb624ef07fefc5a26c2947c2e4631cd5f (patch) | |
tree | 05226e30378bfe654402d5747e5070470ab5f8a1 /net/gtk-vnc | |
parent | d2a5e0c84d0cb9a40fea3354e03668b224cb11bd (diff) | |
download | pkgsrc-b1e1180cb624ef07fefc5a26c2947c2e4631cd5f.tar.gz |
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 (limited to 'net/gtk-vnc')
-rw-r--r-- | net/gtk-vnc/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/net/gtk-vnc/Makefile b/net/gtk-vnc/Makefile index a14fbfc315c..2126b6605ac 100644 --- a/net/gtk-vnc/Makefile +++ b/net/gtk-vnc/Makefile @@ -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 @@ do-configure: && ${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 |