diff options
author | tron <tron@pkgsrc.org> | 2005-07-30 15:45:11 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2005-07-30 15:45:11 +0000 |
commit | f66c5f2ae12f0a8fff0dd5dc0cfead9f9fdce57f (patch) | |
tree | ec158040624b5f2fa9be96a855f44152b4cd1aa2 /x11/lablgtk | |
parent | d57e01819872780c60b7a0d1e5f5e9fda604fdb3 (diff) | |
download | pkgsrc-f66c5f2ae12f0a8fff0dd5dc0cfead9f9fdce57f.tar.gz |
Update comment about architectures using "ocamlopt" and check the
architectures only once.
Diffstat (limited to 'x11/lablgtk')
-rw-r--r-- | x11/lablgtk/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/x11/lablgtk/Makefile b/x11/lablgtk/Makefile index 7f809e58213..7e00983b117 100644 --- a/x11/lablgtk/Makefile +++ b/x11/lablgtk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2005/07/30 13:48:26 tron Exp $ +# $NetBSD: Makefile,v 1.21 2005/07/30 15:45:11 tron Exp $ DISTNAME= lablgtk-1.2.7 PKGREVISION= 1 @@ -16,7 +16,7 @@ BUILDLINK_DEPENDS.ocaml+= ocaml>=3.0.5 .include "../../mk/bsd.prefs.mk" -# currently ocamlopt is only available on i386 +# currently ocamlopt is only available on i386, sparc and powerpc. .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ (${MACHINE_ARCH} == "sparc") USE_DOTOPT= YES @@ -34,8 +34,7 @@ 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") || (${MACHINE_ARCH} == "powerpc") || \ - (${MACHINE_ARCH} == "sparc") +.if defined(USE_DOTOPT) post-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \ opt |