summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2005-07-30 13:48:26 +0000
committertron <tron@pkgsrc.org>2005-07-30 13:48:26 +0000
commit15190cac024aa0f31becf6d0cc00c07a59d071b0 (patch)
tree7ceb5200a23e5ef600f7575b237bf81b2b2bc7fb /x11
parent63880f228d42c1736d59b6927458dbbce81cf7b5 (diff)
downloadpkgsrc-15190cac024aa0f31becf6d0cc00c07a59d071b0.tar.gz
Synchronize platforms which support optimization with the "ocaml" package.
This should fix the "configure" problems in the "mldonkey-gui" package.
Diffstat (limited to 'x11')
-rw-r--r--x11/lablgtk/Makefile9
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