pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ocaml include opt and stubs on intel darwin leopard



details:   https://anonhg.NetBSD.org/pkgsrc/rev/deac569b878a
branches:  trunk
changeset: 538500:deac569b878a
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Mon Feb 11 00:56:42 2008 +0000

description:
include opt and stubs on intel darwin leopard

diffstat:

 lang/ocaml/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 164018cd5987 -r deac569b878a lang/ocaml/Makefile
--- a/lang/ocaml/Makefile       Sun Feb 10 19:00:27 2008 +0000
+++ b/lang/ocaml/Makefile       Mon Feb 11 00:56:42 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2008/01/23 20:42:25 adam Exp $
+# $NetBSD: Makefile,v 1.59 2008/02/11 00:56:42 dbj Exp $
 
 .include "Makefile.common"
 
@@ -13,8 +13,10 @@
 ###
 
 # Stub libraries for functions missing from base system.
-.if !empty(MACHINE_PLATFORM:MDarwin-*-powerpc) || ${OPSYS} == "DragonFly" || \
-    ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "SunOS" || \
+.if !empty(MACHINE_PLATFORM:MDarwin-*-powerpc) || \
+    !empty(MACHINE_PLATFORM:MDarwin-9.*-i386) || \
+    ${OPSYS} == "DragonFly" || ${OPSYS} == "NetBSD" || \
+    ${OPSYS} == "FreeBSD" || ${OPSYS} == "SunOS" || \
     ${OPSYS} == "Linux"
 PLIST_SRC+=    ${PKGDIR}/PLIST.stub
 .endif
@@ -24,7 +26,7 @@
     (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
 BUILD_TARGET+= opt opt.opt
 PLIST_SRC+=    ${PKGDIR}/PLIST.opt
-.  if empty(MACHINE_PLATFORM:MDarwin-*-*) && \
+.  if empty(MACHINE_PLATFORM:MDarwin-*-powerpc) && \
       empty(MACHINE_PLATFORM:MSunOS-*-i386) && \
       empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) && \
       empty(MACHINE_PLATFORM:MNetBSD-*-sparc)



Home | Main Index | Thread Index | Old Index