Make use of REGRESS_IS_INTERACTIVE=x11

ok jasper@ sthen@
This commit is contained in:
ajacoutot 2009-09-06 10:46:25 +00:00
parent 40dc09a61c
commit 6058656d84
36 changed files with 74 additions and 239 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.41 2009/08/23 19:30:21 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.42 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= music management application for GNOME
@ -93,10 +93,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS+= --disable-browser-plugin
CONFIGURE_ENV+= MOZILLA_PLUGINDIR=${PREFIX}/lib/mozilla-plugins
# 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}
REGRESS_IS_INTERACTIVE= x11
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.48 2009/08/10 06:31:07 kili Exp $
# $OpenBSD: Makefile,v 1.49 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= Data Display Debugger, graphical front-end for GDB, etc
@ -20,10 +20,7 @@ WANTLIB= ICE SM X11 Xaw Xau Xdmcp Xext Xmu Xp Xpm Xt c m z stdc++ \
MODULES= converters/libiconv
REGRESS_IS_INTERACTIVE=Yes
# Note - we need ~/.XAuthority, which doesn't exist in
# /${PKGNAME}_writes_to_home
REGRESS_FLAGS= "DISPLAY=$${DISPLAY}" "HOME=$${HOME}"
REGRESS_IS_INTERACTIVE=x11
VMEM_WARNING= Yes
USE_MOTIF= any

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.33 2009/08/10 06:31:08 kili Exp $
# $OpenBSD: Makefile,v 1.34 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= library for loading GLADE interface files at runtime
@ -34,8 +34,7 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
REGRESS_IS_INTERACTIVE= Yes
REGRESS_FLAGS=DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE= x11
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/libxml2

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2009/09/05 16:47:30 jasper Exp $
# $OpenBSD: Makefile,v 1.3 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= bridge that allows POE to be driven by Tk
@ -21,10 +21,6 @@ RUN_DEPENDS+= ::x11/p5-Tk \
USE_X11= Yes
# 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}
REGRESS_IS_INTERACTIVE= x11
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2008/10/02 20:35:10 simon Exp $
# $OpenBSD: Makefile,v 1.20 2009/09/06 10:46:25 ajacoutot Exp $
SHARED_ONLY= Yes
@ -17,16 +17,8 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= readline termcap
# This regression test wants an X11 display
REGRESS_DEPENDS= :p5-Tk-*:x11/p5-Tk
REGRESS_FLAGS= TERM=${TERM} DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE= Yes
pre-regress:
.for t in TERM DISPLAY XAUTHORITY
.if !defined($t)
@echo "$t needs to be set to run regress"; exit 1
.endif
.endfor
REGRESS_FLAGS= TERM=${TERM}
REGRESS_IS_INTERACTIVE= x11
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2009/08/07 11:20:10 jasper Exp $
# $OpenBSD: Makefile,v 1.17 2009/09/06 10:46:25 ajacoutot Exp $
SHARED_ONLY= Yes
@ -31,10 +31,6 @@ CONFIGURE_STYLE=gnu
REGRESS_DEPENDS= :${PKGNAME}:${BUILD_PKGPATH}
# 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}
REGRESS_IS_INTERACTIVE= x11
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.22 2009/08/10 06:31:08 kili Exp $
# $OpenBSD: Makefile,v 1.23 2009/09/06 10:46:25 ajacoutot Exp $
SHARED_ONLY= Yes
@ -38,9 +38,7 @@ DOCDIR= ${PREFIX}/share/doc/pygame
DOCSUBDIRS= ref tut tut/chimp tut/surfarray \
tut/tom
# This regression test wants an X11 display
REGRESS_IS_INTERACTIVE= Yes
REGRESS_FLAGS= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE= x11
# fix perms
post-extract:

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2009/08/10 06:31:08 kili Exp $
# $OpenBSD: Makefile,v 1.11 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= SDL wrapper around the Pango library
@ -39,9 +39,7 @@ USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
# This regression test wants an X11 display
REGRESS_IS_INTERACTIVE= Yes
REGRESS_FLAGS= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE= x11
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sdl-pango

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/03/18 09:10:27 sthen Exp $
# $OpenBSD: Makefile,v 1.2 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT = Tk Standard Library
@ -19,8 +19,7 @@ MODULES = x11/tk
BUILD_DEPENDS = ::devel/tcllib
RUN_DEPENDS = ::devel/tcllib
REGRESS_DEPENDS = ::devel/tcllib
REGRESS_FLAGS = DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE =Yes
REGRESS_IS_INTERACTIVE =x11
NO_BUILD = Yes
SCRIPTS_TCLSH = canvas/city.tcl \
@ -52,14 +51,6 @@ do-install:
@chown root:bin ${PREFIX}/man/mann/tklib.n
@chmod 444 ${PREFIX}/man/mann/tklib.n
# This regression test needs an X11 display
pre-regress:
.for i in DISPLAY XAUTHORITY
. if !defined($i)
@echo "$i needs to be set to run regress"; exit 1
. endif
.endfor
do-regress:
${SETENV} ${MAKE_ENV} ${REGRESS_FLAGS} \
${MODTCL_BIN} ${WRKSRC}/sak.tcl test

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.38 2009/08/10 06:32:43 kili Exp $
# $OpenBSD: Makefile,v 1.39 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= command-driven interactive function plotting program
@ -31,8 +31,7 @@ CONFIGURE_ARGS= --without-linux-vga --without-pdf \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
REGRESS_IS_INTERACTIVE= Yes
REGRESS_FLAGS= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE= x11
SUBST_VARS= V

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.25 2009/08/10 06:32:43 kili Exp $
# $OpenBSD: Makefile,v 1.26 2009/09/06 10:46:25 ajacoutot Exp $
# $FreeBSD: ports/math/grace/Makefile,v 1.18 2001/04/25 05:59:19 lkoeller Exp $
# Original from: Lars Koeller <Lars.Koeller@Uni-Bielefeld.de>
@ -46,9 +46,7 @@ NO_REGRESS= Yes
ERRORS+= "Fatal: Flavors 'no_x11' and 'xmhtml' are mutually exclusive."
. endif
.else
# 'make regress' needs X11 running
REGRESS_IS_INTERACTIVE= Yes
REGRESS_FLAGS= DISPLAY=${DISPLAY}
REGRESS_IS_INTERACTIVE= x11
USE_X11= Yes
USE_MOTIF= openmotif
WANTLIB+= ICE SM X11 Xext Xmu Xp Xpm Xt pthread-stubs xcb

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/03/31 16:49:01 jasper Exp $
# $OpenBSD: Makefile,v 1.2 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= visualisation of Kohonen's Self-Organizing Maps
@ -18,11 +18,7 @@ USE_X11= Yes
RUN_DEPENDS= ::math/p5-AI-NeuralNet-Kohonen \
::x11/p5-Tk
# 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}
REGRESS_IS_INTERACTIVE= x11
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2008/01/04 18:38:52 espie Exp $
# $OpenBSD: Makefile,v 1.19 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= Text Editor for FLTK
@ -33,20 +33,11 @@ MAKE_ENV= LIBfleditor_VERSION=${LIBfleditor_VERSION}
WRKDIST= ${WRKDIR}/fl_editor
# This regression test wants an X11 display
REGRESS_FLAGS= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE= Yes
REGRESS_IS_INTERACTIVE= x11
post-patch:
@rmdir ${WRKSRC}/obj
pre-regress:
.for t in DISPLAY XAUTHORITY
.if !defined($t)
@echo "$t needs to be set to run regress"; exit 1
.endif
.endfor
do-install:
@${install_shared_frag}
${INSTALL_DATA} ${WRKBUILD}/libfleditor.a ${PREFIX}/lib

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2009/08/10 18:46:49 jasper Exp $
# $OpenBSD: Makefile,v 1.4 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT = fast light toolkit
@ -55,9 +55,7 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
# shared libs are disabled until fltk2 stabilises
CONFIGURE_ARGS= --disable-shared
# This regression test wants an X11 display
REGRESS_IS_INTERACTIVE= Yes
REGRESS_FLAGS= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE= x11
do-regress:
@cd ${WRKSRC}/test && \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2008/01/04 18:38:52 espie Exp $
# $OpenBSD: Makefile,v 1.12 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= FLTK Virtual Styles, List, Table, and Complex Table Widgets
@ -27,21 +27,12 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -DFLTK_1_0_COMPAT -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
# This regression test wants an X11 display
REGRESS_TARGET= check
REGRESS_FLAGS= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE= Yes
REGRESS_IS_INTERACTIVE= x11
WRKDIST= ${WRKDIR}/flvw
WRKSRC= ${WRKDIST}/1.0
pre-regress:
.for t in DISPLAY XAUTHORITY
.if !defined($t)
@echo "$t needs to be set to run regress"; exit 1
.endif
.endfor
do-regress:
@cd ${WRKBUILD}/test && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${REGRESS_FLAGS} -f ${MAKE_FILE} ${REGRESS_TARGET}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2009/08/11 08:39:38 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.22 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= GNOME accessibility interface
@ -43,10 +43,6 @@ CONFIGURE_ARGS+= --disable-xevie
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# 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}
REGRESS_IS_INTERACTIVE= x11
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.38 2009/08/11 08:39:38 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.39 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= Eazel Extensions Library
@ -38,10 +38,6 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# 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}
REGRESS_IS_INTERACTIVE= x11
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2009/08/11 08:39:38 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.22 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= collection of games for the GNOME desktop
@ -63,11 +63,7 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# 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}
REGRESS_IS_INTERACTIVE= x11
pre-configure:
${SUBST_CMD} ${WRKSRC}/configure ${WRKSRC}/glchess/src/glchess.in.in \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2009/08/11 08:39:38 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.22 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= GNOME on-screen keyboard
@ -48,11 +48,7 @@ CONFIGURE_ARGS+= --disable-xevie
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
# 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}
REGRESS_IS_INTERACTIVE= x11
post-build:
cd ${WRKSRC} && \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.37 2009/08/11 08:39:38 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.38 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= user interface components for bonobo
@ -37,10 +37,6 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# 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}
REGRESS_IS_INTERACTIVE= x11
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.34 2009/08/11 08:39:38 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.35 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= graphics library for GNOME
@ -35,10 +35,6 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
# 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}
REGRESS_IS_INTERACTIVE= x11
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.47 2009/08/11 08:39:39 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.48 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= GNOME shell and file manager
@ -80,11 +80,7 @@ pre-configure:
perl -pi -e "s,%\'d,%d,g;" -e "s,%\'u,%u,g;" \
${WRKSRC}/$${i}; done
# 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}
REGRESS_IS_INTERACTIVE=x11
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.82 2009/08/29 20:17:49 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.83 2009/09/06 10:46:25 ajacoutot Exp $
SHARED_ONLY= Yes
@ -79,11 +79,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include/freetype2/ -I${LOCALBASE}/includ
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/gtk+2
# 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}
REGRESS_IS_INTERACTIVE= x11
# XXX we should use MODPY_BIN from the lang/python MODULE but
# we do not want to build/run_depends on python

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.15 2008/01/04 18:38:52 espie Exp $
# $OpenBSD: Makefile,v 1.16 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= drag and drop library
@ -26,9 +26,7 @@ MAKE_FLAGS= LIBDnd_VERSION=${LIBDnd_VERSION} \
WRKDIST= ${WRKDIR}/DND
WRKSRC= ${WRKDIST}/DNDlib
# This regression test wants an X11 display
REGRESS_FLAGS= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE= Yes
REGRESS_IS_INTERACTIVE= x11
do-regress:
@cd ${WRKBUILD} && ./dndtest

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2009/08/11 08:42:08 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.10 2009/09/06 10:46:25 ajacoutot Exp $
SHARED_ONLY= Yes
@ -34,11 +34,7 @@ LIB_DEPENDS= art_lgpl_2.>=5::graphics/libart \
RUN_DEPENDS= ::devel/p5-Glib2 \
::x11/p5-Gtk2
# 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}
REGRESS_IS_INTERACTIVE=x11
pre-configure:
perl -pi -e 's,!!CFLAGS!!,${CFLAGS},g' ${WRKSRC}/Makefile.PL

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2009/08/11 08:42:08 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.10 2009/09/06 10:46:25 ajacoutot Exp $
SHARED_ONLY= Yes
@ -33,11 +33,7 @@ LIB_DEPENDS= xml2.>=9::textproc/libxml \
RUN_DEPENDS= ::devel/p5-Glib2 \
::x11/p5-Gtk2
# 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}
REGRESS_IS_INTERACTIVE=x11
pre-configure:
perl -pi -e 's,!!CFLAGS!!,${CFLAGS},g' ${WRKSRC}/Makefile.PL

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.15 2009/08/11 08:42:08 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.16 2009/09/06 10:46:25 ajacoutot Exp $
SHARED_ONLY= Yes
@ -37,11 +37,6 @@ RUN_DEPENDS= :p5-Glib2->=1.200:devel/p5-Glib2 \
::devel/p5-Pango \
:p5-Cairo->=1.00:graphics/p5-Cairo
# 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}
REGRESS_IS_INTERACTIVE= x11
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/04/06 21:29:32 kili Exp $
# $OpenBSD: Makefile,v 1.2 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= splash screen widget
@ -17,7 +17,6 @@ MODULES= cpan
USE_X11= Yes
REGRESS_IS_INTERACTIVE= Yes
REGRESS_FLAGS=DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE= x11
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.32 2008/11/12 09:58:15 jasper Exp $
# $OpenBSD: Makefile,v 1.33 2009/09/06 10:46:25 ajacoutot Exp $
SHARED_ONLY= Yes
@ -32,16 +32,9 @@ PKG_ARCH-demo= *
USE_X11= Yes
REGRESS_IS_INTERACTIVE= Yes
REGRESS_FLAGS= DISPLAY="${DISPLAY}" XAUTHORITY="${HOME}/.Xauthority"
REGRESS_IS_INTERACTIVE= x11
pre-configure:
@${SUBST_CMD} ${WRKSRC}/PNG/Makefile.PL
pre-regress:
.ifndef DISPLAY
@echo requires access to X11; exit 1
.endif
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/02/02 22:59:23 simon Exp $
# $OpenBSD: Makefile,v 1.2 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT = Perl extension to the X On Screen Display library (xosd)
SHARED_ONLY = Yes
@ -16,17 +16,7 @@ PERMIT_DISTFILES_FTP = Yes
LIB_DEPENDS = xosd::x11/xosd
USE_X11 = Yes
XAUTHORITY ?= ${HOME}/.Xauthority
REGRESS_IS_INTERACTIVE = x11
REGRESS_FLAGS = DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
pre-regress:
.if !exists(${XAUTHORITY})
@echo 1>&2 "The regression tests require a running instance of X."
@echo 1>&2 "You will also need to set the XAUTHORITY environment"
@echo 1>&2 "variable to point to the appropriate .Xauthority file."
@exit 1
.endif
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/01/01 04:38:49 kevlo Exp $
# $OpenBSD: Makefile,v 1.2 2009/09/06 10:46:25 ajacoutot Exp $
COMMENT= provides an interface roughly equivalent to Xlib
@ -16,10 +16,8 @@ PERMIT_DISTFILES_FTP= Yes
MODULES= cpan
REGRESS_FLAGS= DISPLAY="${DISPLAY}" XAUTHORITY="${HOME}/.Xauthority"
USE_X11= Yes
REGRESS_IS_INTERACTIVE= Yes
REGRESS_IS_INTERACTIVE= x11
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.35 2009/08/11 08:42:09 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.36 2009/09/06 10:46:26 ajacoutot Exp $
SHARED_ONLY= Yes
@ -44,11 +44,7 @@ CONFIGURE_STYLE=gnu
# pick bind_textdomain_codeset
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lintl -liconv"
# 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}
REGRESS_IS_INTERACTIVE= x11
pre-configure:
@find ${WRKDIST} -name \*.py | \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.17 2009/08/11 08:42:09 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.18 2009/09/06 10:46:26 ajacoutot Exp $
COMMENT = graphical toolkit for Tcl
@ -37,9 +37,7 @@ FAKE_FLAGS = INSTALL_DATA_DIR="${INSTALL_DATA_DIR}" \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}"
REGRESS_FLAGS = HOME=${TESTHOME} \
DISPLAY=${DISPLAY} \
XAUTHORITY=${XAUTHORITY}
REGRESS_FLAGS = HOME=${TESTHOME}
SEPARATE_BUILD = concurrent
USE_X11 = Yes
@ -56,8 +54,7 @@ CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
CONFIGURE_ENV += SHLIB_VERSION="${LIBtk84_VERSION}" \
CFLAGS=""
# This regression test wants an X11 display
REGRESS_IS_INTERACTIVE =Yes
REGRESS_IS_INTERACTIVE = x11
WRKSRC = ${WRKDIST}/unix
REGRESS_TARGET = test
@ -65,11 +62,6 @@ REGRESS_TARGET = test
TESTHOME = ${WRKDIR}/testhome
pre-regress:
.for t in DISPLAY XAUTHORITY
. if !defined($t)
@echo "$t needs to be set to run regress"; exit 1
. endif
.endfor
@mkdir -p ${TESTHOME}
post-install:

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2009/08/11 08:42:09 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.11 2009/09/06 10:46:26 ajacoutot Exp $
COMMENT = graphical toolkit for Tcl
@ -34,9 +34,7 @@ FAKE_FLAGS = INSTALL_DATA_DIR="${INSTALL_DATA_DIR}" \
CONFIG_INSTALL_DIR="${WRKINST}${TRUEPREFIX}/lib/tk8.5" \
DEMO_INSTALL_DIR="${WRKINST}${TRUEPREFIX}/share/examples/tk8.5"
REGRESS_FLAGS = HOME=${TESTHOME} \
DISPLAY=${DISPLAY} \
XAUTHORITY=${XAUTHORITY}
REGRESS_FLAGS = HOME=${TESTHOME}
SEPARATE_BUILD = concurrent
USE_X11 = Yes
@ -51,8 +49,7 @@ CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
CONFIGURE_ENV += SHLIB_VERSION="${LIBtk85_VERSION}"
# This regression test wants an X11 display
REGRESS_IS_INTERACTIVE =Yes
REGRESS_IS_INTERACTIVE = x11
FLAVORS = threaded
FLAVOR ?=
@ -71,11 +68,6 @@ REGRESS_TARGET = test
TESTHOME = ${WRKDIR}/testhome
pre-regress:
.for t in DISPLAY XAUTHORITY
. if !defined($t)
@echo "$t needs to be set to run regress"; exit 1
. endif
.endfor
@mkdir -p ${TESTHOME}
post-install:

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2009/03/19 12:39:08 sthen Exp $
# $OpenBSD: Makefile,v 1.20 2009/09/06 10:46:26 ajacoutot Exp $
COMMENT = table/matrix widget extension to Tcl/Tk
@ -25,7 +25,6 @@ MODULES = x11/tk
BUILD_DEPENDS = ${MODTK_BUILD_DEPENDS}
RUN_DEPENDS = ${BUILD_DEPENDS}
FAKE_FLAGS = INSTALL_PROGRAM="${INSTALL_DATA}"
REGRESS_FLAGS = DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
SEPARATE_BUILD = concurrent
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
@ -35,7 +34,7 @@ CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
CONFIGURE_ENV += SHLIB_VERSION=${LIBTktable${VER}_VERSION}
REGRESS_IS_INTERACTIVE =Yes
REGRESS_IS_INTERACTIVE =x11
REGRESS_TARGET = test
SCRIPTS_TCLSH = basic.tcl buttons.tcl command.tcl debug.tcl dynarows.tcl \
@ -60,12 +59,4 @@ do-install:
${INSTALL_SCRIPT} ${SCRIPTS_TCLSH:S!^!${WRKSRC}/demos/!} ${PREFIX}/share/examples/tktable
${INSTALL_DATA} ${EXAMPLE_FILES:S!^!${WRKSRC}/demos/!} ${PREFIX}/share/examples/tktable
# This regression test needs an X11 display
pre-regress:
.for i in DISPLAY XAUTHORITY
. if !defined($i)
@echo "$i needs to be set to run regress"; exit 1
. endif
.endfor
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2009/04/28 19:42:37 landry Exp $
# $OpenBSD: Makefile,v 1.4 2009/09/06 10:46:26 ajacoutot Exp $
COMMENT= Xfce4 freedesktop.org compliant menu implementation
@ -23,11 +23,6 @@ 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}
REGRESS_IS_INTERACTIVE = x11
.include <bsd.port.mk>