pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/35114: patch to unison to support gtk2 interface
>Number: 35114
>Category: pkg
>Synopsis: patch to unison to support gtk2 interface
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Nov 24 21:20:00 +0000 2006
>Originator: Brian de Alwis
>Release: NetBSD 4.99.4
>Organization:
Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/
"Amusement to an observing mind is study." - Benjamin Disraeli
>Environment:
System: NetBSD monolith 4.99.4 NetBSD 4.99.4 (LAPTOP.MPACPI) #7: Fri Nov 24
11:06:45 CST 2006 bsd@monolith:/usr/obj/sys/arch/i386/compile/LAPTOP.MPACPI i386
Architecture: i386
Machine: i386
>Description:
I rather like using the unison gtk2 interface and so
hacked up the Unison package to support such a package
option.
>How-To-Repeat:
>Fix:
diff -Nruw /usr/pkgsrc/net/unison/Makefile unison/Makefile
--- /usr/pkgsrc/net/unison/Makefile 2006-04-07 04:00:49.000000000 -0600
+++ unison/Makefile 2006-11-24 12:41:12.000000000 -0600
@@ -17,9 +17,10 @@
# docs: unison-manual.pdf/html/ps/dvi
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_TOOLS+= gmake
-MAKE_FLAGS+= CFLAGS="" UISTYLE=text
+MAKE_FLAGS+= CFLAGS=""
MAKE_ENV+= HOME=${WRKDIR:Q}
+.include "options.mk"
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") ||
(${MACHINE_ARCH} == "sparc")
diff -Nruw /usr/pkgsrc/net/unison/options.mk unison/options.mk
--- /usr/pkgsrc/net/unison/options.mk 1969-12-31 18:00:00.000000000 -0600
+++ unison/options.mk 2006-11-24 13:19:52.000000000 -0600
@@ -0,0 +1,16 @@
+
+# $NetBSD$
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.unison
+PKG_SUPPORTED_OPTIONS= gtk2
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgtk2)
+MAKE_FLAGS+= UISTYLE=gtk2
+.include "../../x11/lablgtk2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.else
+MAKE_FLAGS+= UISTYLE=text
+.endif
+
Home |
Main Index |
Thread Index |
Old Index