Add PowerPC-only altivec ogle flavor,
much direction and ok by espie@
This commit is contained in:
parent
a47da006ee
commit
6f7837b15c
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.131 2002/03/17 22:21:33 jcs Exp $
|
||||
# $OpenBSD: Makefile,v 1.132 2002/04/02 03:50:35 drahn Exp $
|
||||
# $FreeBSD: Makefile,v 1.178 1997/11/24 05:32:52 fenner Exp $
|
||||
#
|
||||
|
||||
@ -79,6 +79,7 @@
|
||||
SUBDIR += mxconns
|
||||
# SUBDIR += neXtaw
|
||||
SUBDIR += ogle
|
||||
SUBDIR += ogle,altivec
|
||||
SUBDIR += olvwm
|
||||
SUBDIR += openmotif
|
||||
# SUBDIR += p5-Tcl-Tk
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2002/04/02 01:04:19 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2002/04/02 03:50:35 drahn Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= alpha i386 powerpc sparc64
|
||||
|
||||
@ -27,9 +27,18 @@ LIB_DEPENDS= dvdread::devel/libdvdread \
|
||||
xml2::textproc/libxml \
|
||||
jpeg.62::graphics/jpeg
|
||||
|
||||
FLAVORS= altivec
|
||||
FLAVOR?=
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
BUILD_DEPENDS+= ::devel/binutils/stable
|
||||
MAKE_ENV=GAS_DIR=${TRUEPREFIX}/${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}/bin
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L} == "altivec"
|
||||
ONLY_FOR_ARCHS= powerpc
|
||||
BUILD_DEPENDS+= ::devel/binutils/stable
|
||||
PORTPATH=${TRUEPREFIX}/${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}/bin:/usr/bin:/bin:/usr/sbin:/sbin:${LOCALBASE}/bin:${LOCALBASE}/sbin
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -53,4 +53,10 @@ go down to 70% cpu).
|
||||
If you can, you may also wish to add several `non-standard'
|
||||
modes to your XF86Config. The most useful being 720x576.
|
||||
|
||||
FLAVORS: altivec (ppc only)
|
||||
Uses altivec vector unit for a huge speed-up. Only works on
|
||||
powerpc platform with altivec hardware support.
|
||||
Altivec is present on all PowerPC G4 processors. Altivec is
|
||||
not present on G3 or earlier (60x) processors.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
||||
|
Loading…
Reference in New Issue
Block a user