diff --git a/x11/xfce4/libxfce4menu/Makefile b/x11/xfce4/libxfce4menu/Makefile index d1475707920..74ec4509147 100644 --- a/x11/xfce4/libxfce4menu/Makefile +++ b/x11/xfce4/libxfce4menu/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2009/03/08 17:05:33 landry Exp $ +# $OpenBSD: Makefile,v 1.2 2009/04/09 07:44:37 landry Exp $ COMMENT= freedesktop.org compliant menu implementation for Xfce4 XFCE_PROJECT= libxfce4menu +PKGNAME= ${DISTNAME}p0 SHARED_LIBS += xfce4menu-0.1 0.0 @@ -19,4 +20,15 @@ MODULES = x11/xfce4 LIB_DEPENDS = xfce4util::x11/xfce4/libxfce4util WANTLIB = glib-2.0 gobject-2.0 gthread-2.0 pcre +BUILD_DEPENDS = ::x11/gtk+2 +# regress tests needs the menu file provided by xfdesktop +REGRESS_DEPENDS = ::x11/xfce4/xfdesktop + +# The regression tests require a running instance of X. +# You will also need to set the XAUTHORITY environment variable to point +# to the appropriate .Xauthority file. + +REGRESS_IS_INTERACTIVE = Yes +REGRESS_FLAGS = DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY} + .include diff --git a/x11/xfce4/libxfce4menu/patches/patch-configure b/x11/xfce4/libxfce4menu/patches/patch-configure new file mode 100644 index 00000000000..1bed429e6cb --- /dev/null +++ b/x11/xfce4/libxfce4menu/patches/patch-configure @@ -0,0 +1,23 @@ +$OpenBSD: patch-configure,v 1.1 2009/04/09 07:44:37 landry Exp $ +--- configure.orig Wed Apr 8 12:04:27 2009 ++++ configure Wed Apr 8 12:04:49 2009 +@@ -17499,19 +17499,6 @@ echo "${ECHO_T}$enable_debug" >&6; } + fi + fi + +-{ echo "$as_me:$LINENO: checking whether $LD accepts --as-needed" >&5 +-echo $ECHO_N "checking whether $LD accepts --as-needed... $ECHO_C" >&6; } +-case `$LD --as-needed -v 2>&1 &5 +-echo "${ECHO_T}yes" >&6; } +- ;; +-*) +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- ;; +-esac + { echo "$as_me:$LINENO: checking whether $LD accepts -O1" >&5 + echo $ECHO_N "checking whether $LD accepts -O1... $ECHO_C" >&6; } + case `$LD -O1 -v 2>&1