diff options
Diffstat (limited to 'x11/lablgtk/Makefile')
-rw-r--r-- | x11/lablgtk/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/x11/lablgtk/Makefile b/x11/lablgtk/Makefile index 854d93a1138..7f809e58213 100644 --- a/x11/lablgtk/Makefile +++ b/x11/lablgtk/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.19 2005/06/01 18:03:29 jlam Exp $ +# $NetBSD: Makefile,v 1.20 2005/07/30 13:48:26 tron Exp $ DISTNAME= lablgtk-1.2.7 +PKGREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/ @@ -16,7 +17,8 @@ BUILDLINK_DEPENDS.ocaml+= ocaml>=3.0.5 .include "../../mk/bsd.prefs.mk" # currently ocamlopt is only available on i386 -.if (${MACHINE_ARCH} == "i386") +.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ + (${MACHINE_ARCH} == "sparc") USE_DOTOPT= YES .else CAMLOPT= ocamlc @@ -32,7 +34,8 @@ do-configure: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \ configure USE_DOTOPT=${USE_DOTOPT} USE_CC=1 CC=${CC} -.if (${MACHINE_ARCH} == "i386") +.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ + (${MACHINE_ARCH} == "sparc") post-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \ opt |