Files
pkgsrc-ng/x11/xfce4-session/patches/patch-configure
2016-01-21 23:42:40 +01:00

27 lines
801 B
Plaintext

$NetBSD: patch-configure,v 1.2 2015/07/07 14:04:22 youri Exp $
Add NetBSD backend detection.
--- configure.orig 2015-03-16 07:29:45.000000000 +0000
+++ configure
@@ -18208,6 +18208,8 @@ if test x$with_backend = x; then
with_backend=freebsd ;; #(
*-*dragonfly*) :
with_backend=freebsd ;; #(
+ *-*netbsd*) :
+ with_backend=netbsd ;; #(
*-openbsd*) :
with_backend=openbsd ;; #(
*) :
@@ -18237,6 +18239,11 @@ if test x$with_backend = xopenbsd; then
$as_echo "#define BACKEND_TYPE_OPENBSD 1" >>confdefs.h
fi
+if test x$with_backend = xnetbsd; then
+
+$as_echo "#define BACKEND_TYPE_NETBSD 1" >>confdefs.h
+
+fi
XFCE_GLADE_CATALOG_PATH="`pkg-config --variable glade_catalogdir libxfce4ui-1`"
XFCE_GLADE_PIXMAP_PATH="`pkg-config --variable glade_pixmapdir libxfce4ui-1`"