d5933401a8
4.18 14-Aug-2004 * Oops, pay no attention to the man behind the curtain. 4.17 14-Aug-2004 * New hacks, anemotaxis and memscroller. * Fixed a bad bug that caused vidwhacker to never die. * Fixed normals and lighting in polyhedra. * Don't reuse the window when changing hacks (to work around bugs in some GL implementations.) * Made xscreensaver-getimage-file skip thumbnail-sized images. * Fixed endian problem in barcode on non-x86. * Updates to webcollage, apple2, fuzzyflakes, atunnel, and pacman. * Timing tweaks to bubble3d, bouncingcow, engine, gltext, lavalite, molecule, spotlight, sballs, boxed, blinkbox, and circuit. * Configure updates for Fedora core 2 / xorg 6.7.0. * Compile without warnings under gcc 3.3.3. * I give up: don't blank or lock the screen if we can't get a keyboard grab. In that case, both choices are bad.
76 lines
2 KiB
Makefile
76 lines
2 KiB
Makefile
# $nETbsd: Makefile.common,v 1.75 2004/05/15 13:13:19 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= xscreensaver-4.18
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/X11/graphics/xscreensaver/ \
|
|
${HOMEPAGE}
|
|
|
|
MAINTAINER= wiz@NetBSD.org
|
|
HOMEPAGE= http://www.jwz.org/xscreensaver/
|
|
|
|
BUILD_USES_MSGFMT= yes
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_X11BASE= yes
|
|
USE_PERL5= build
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-hackdir=${PREFIX}/libexec/xscreensaver
|
|
CONFIGURE_ARGS+= --with-gl
|
|
CONFIGURE_ARGS+= --with-gle
|
|
CONFIGURE_ARGS+= --with-jpeg=${BUILDLINK_PREFIX.jpeg}
|
|
CONFIGURE_ARGS+= --with-zippy=/usr/games/fortune
|
|
|
|
CONFIGURE_ARGS+= --without-motif
|
|
CONFIGURE_ARGS+= --without-shadow
|
|
CONFIGURE_ARGS+= --without-pam
|
|
|
|
CONFIGURE_ENV+= X_PRE_LIBS=-lXt
|
|
CONFIGURE_ENV+= ac_cv_x_app_defaults="${PREFIX}/lib/X11/app-defaults"
|
|
CONFIGURE_ENV+= PERL="${PERL5}" ac_cv_perl_version="${PERL_VERSION}"
|
|
CONFIGURE_ENV+= INTLTOOL_PERL="${PERL5}"
|
|
.if defined(PKGREVISION)
|
|
CONFIGURE_ENV+= X_CFLAGS="-DPKGREVISION=${PKGREVISION}"
|
|
.endif
|
|
CONFIGURE_ARGS+= ac_cv_path_INTLTOOL_PERL="${PERL5}"
|
|
MAKE_ENV+= KDEDIR=${PREFIX}
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../x11/xscreensaver/distinfo
|
|
FILESDIR= ${.CURDIR}/../../x11/xscreensaver/files
|
|
PATCHDIR= ${.CURDIR}/../../x11/xscreensaver/patches
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "FreeBSD"
|
|
PLIST_SUBST+= AVAILABLE="@comment "
|
|
CONFIGURE_ARGS+= --without-kerberos
|
|
.else
|
|
PLIST_SUBST+= AVAILABLE=
|
|
.endif
|
|
|
|
.ifndef (PERL_VERSION)
|
|
PERL_VERSION!= if [ -x ${PERL5} ]; then ${PERL5} -e 'print $$]'; else ${ECHO} "5.006"; fi
|
|
MAKEFLAGS+= PERL_VERSION=${PERL_VERSION}
|
|
.endif
|
|
|
|
.if (${OPSYS} == "NetBSD")
|
|
. if defined(KERBEROS)
|
|
CFLAGS+= -I/usr/include/kerberosIV
|
|
. else
|
|
CONFIGURE_ARGS+= --without-kerberos
|
|
. endif
|
|
.endif
|
|
|
|
.include "../../mk/compiler.mk"
|
|
.if !empty(CC_VERSION:Mgcc*)
|
|
CFLAGS+= -fno-strict-aliasing
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
|
|
GCC_REQD+= 2.95.3
|
|
.endif
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../graphics/gle/buildlink3.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|