[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
add altivec flavor to ogle port
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: add altivec flavor to ogle port
- From: Dale Rahn <drahn_(_at_)_prairieinet_(_dot_)_net>
- Date: Mon, 1 Apr 2002 20:35:15 -0600
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/ogle/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile 2 Apr 2002 01:04:19 -0000 1.8
+++ Makefile 2 Apr 2002 02:38:51 -0000
@@ -32,4 +32,13 @@
MAKE_ENV=GAS_DIR=${TRUEPREFIX}/${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}/bin
.endif
+.if ${MACHINE_ARCH} == "powerpc"
+FLAVORS= altivec
+FLAVOR?=
+.if ${FLAVOR:L} == "altivec"
+BUILD_DEPENDS+= ::devel/binutils/stable
+MAKE_ENV=GAS_DIR=${TRUEPREFIX}/${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}/bin
+.endif
+.endif
+
.include <bsd.port.mk>
Dale Rahn drahn_(_at_)_prairieinet_(_dot_)_net
Visit your host, monkey.org