pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/lablgtk Update comment about architectures using "...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9bec247ca885
branches:  trunk
changeset: 497567:9bec247ca885
user:      tron <tron%pkgsrc.org@localhost>
date:      Sat Jul 30 15:45:11 2005 +0000

description:
Update comment about architectures using "ocamlopt" and check the
architectures only once.

diffstat:

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

diffs (28 lines):

diff -r 79b8fc4fb552 -r 9bec247ca885 x11/lablgtk/Makefile
--- a/x11/lablgtk/Makefile      Sat Jul 30 15:39:15 2005 +0000
+++ b/x11/lablgtk/Makefile      Sat Jul 30 15:45:11 2005 +0000
@@ -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 @@
 
 .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 @@
        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



Home | Main Index | Thread Index | Old Index