pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/lablgtk Synchronize platforms which support optimi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d09444e67257
branches:  trunk
changeset: 497561:d09444e67257
user:      tron <tron%pkgsrc.org@localhost>
date:      Sat Jul 30 13:48:26 2005 +0000

description:
Synchronize platforms which support optimization with the "ocaml" package.
This should fix the "configure" problems in the "mldonkey-gui" package.

diffstat:

 x11/lablgtk/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r b176dc1ad024 -r d09444e67257 x11/lablgtk/Makefile
--- a/x11/lablgtk/Makefile      Sat Jul 30 13:12:24 2005 +0000
+++ b/x11/lablgtk/Makefile      Sat Jul 30 13:48:26 2005 +0000
@@ -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 @@
 .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 @@
        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



Home | Main Index | Thread Index | Old Index