[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
add altivec flavor to ogle port
- To: ports@openbsd.org
- Subject: add altivec flavor to ogle port
- From: Dale Rahn <drahn@prairieinet.net>
- Date: Mon, 1 Apr 2002 20:35:15 -0600
- Content-Disposition: inline
- User-Agent: Mutt/1.2.5i
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@prairieinet.net