diff --git a/x11/ogle/Makefile b/x11/ogle/Makefile index dacb304c1e6..bdf9825564d 100644 --- a/x11/ogle/Makefile +++ b/x11/ogle/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.16 2002/08/18 09:38:26 espie Exp $ +# $OpenBSD: Makefile,v 1.17 2002/08/28 01:34:37 drahn Exp $ ONLY_FOR_ARCHS= alpha i386 powerpc sparc64 @@ -39,6 +39,9 @@ MAKE_ENV=GAS_DIR=${TRUEPREFIX}/${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}/bin .if ${FLAVOR:L} == "altivec" ONLY_FOR_ARCHS= powerpc +CONFIGURE_ARGS+=--enable-altivec +.else +CONFIGURE_ARGS+=--disable-altivec .endif .include diff --git a/x11/ogle/patches/patch-configure b/x11/ogle/patches/patch-configure deleted file mode 100644 index 972a73c3186..00000000000 --- a/x11/ogle/patches/patch-configure +++ /dev/null @@ -1,17 +0,0 @@ -$OpenBSD: patch-configure,v 1.5 2002/07/16 13:38:04 espie Exp $ ---- configure.orig Sun Jun 30 02:54:14 2002 -+++ configure Tue Jul 16 15:17:38 2002 -@@ -11804,8 +11804,11 @@ _ACEOF - powerpc|ppc) - if test "x$GCC" = xyes; then - CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops" -- XCFLAGS="-Wa,-m7400" -- USE_ALTIVEC=yes -+ echo | as -m7400 >/dev/null -+ if test $? -eq 0; then -+ XCFLAGS="-Wa,-m7400" -+ USE_ALTIVEC=yes -+ fi - fi - esac -