pkgsrc/sysutils/xosview/Makefile

26 lines
733 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.25 1999/02/20 22:48:44 hubertf Exp $
1998-01-25 00:34:50 +01:00
#
DISTNAME= xosview-1.7.0.b
CATEGORIES= sysutils
MASTER_SITES= http://www.ece.utexas.edu/~bgrayson/xosview/ \
http://lore.ece.utexas.edu/~bgrayson/xosview/
MAINTAINER= bgrayson@ece.utexas.edu
HOMEPAGE= http://lore.ece.utexas.edu/~bgrayson/xosview.html
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
USE_X11BASE= yes
BUILD_DEFS= UVM
# On arm32, with UVM, pmap.h contains a C++ keyword. Workaround this.
pre-build:
1998-11-16 16:04:51 +01:00
@if [ ${MACHINE} = "arm32" -a ! -z "${UVM}" ]; then \
1999-01-23 01:26:05 +01:00
${MKDIR} ${WRKSRC}/include/machine; \
${SED} -e 's|virtual|virt|' /usr/include/machine/pmap.h \
1998-11-16 16:04:51 +01:00
> ${WRKSRC}/include/machine/pmap.h; \
fi
.include "../../mk/bsd.pkg.mk"