diff options
author | tron <tron> | 2005-07-30 15:45:11 +0000 |
---|---|---|
committer | tron <tron> | 2005-07-30 15:45:11 +0000 |
commit | 60b2b7cbfb6027c08b9fefad3f6933b2d9df28aa (patch) | |
tree | ec158040624b5f2fa9be96a855f44152b4cd1aa2 /x11/lablgtk | |
parent | ff24572b26a137bd6f4cefe84675d2cae3604d9b (diff) | |
download | pkgsrc-60b2b7cbfb6027c08b9fefad3f6933b2d9df28aa.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 |