tech-pkg archive

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

Re: "imake" (mess) under Mac OS X Snow Leopard



On Sun, Sep 13, 2009 at 02:38:02PM +0100, Matthias Scheler wrote:
> Is there a way to fix this? I thought that setting "USE_TOOLS+= imake"
> should fix this but it doesn't.

The following patch gets the "imake" package installed:

Index: tools/replace.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/tools/replace.mk,v
retrieving revision 1.221
diff -u -r1.221 replace.mk
--- tools/replace.mk    8 Jul 2009 12:51:16 -0000       1.221
+++ tools/replace.mk    13 Sep 2009 16:37:37 -0000
@@ -1198,7 +1198,8 @@
 TOOLS_DEPENDS.${_t_}?= nbitools>=6.3nb4:../../devel/nbitools
 TOOLS_FIND_PREFIX+=    TOOLS_PREFIX.${_t_}=nbitools
 TOOLS_PATH.${_t_}=     ${TOOLS_PREFIX.${_t_}}/libexec/itools/${_t_}
-.      elif defined(X11_TYPE) && !empty(X11_TYPE:Mmodular)
+.      elif defined(X11_TYPE) && !empty(X11_TYPE:Mmodular) || \
+            !exists(${TOOLS_PLATFORM.imake})
 TOOLS_DEPENDS.${_t_}?= imake-[0-9]*:../../devel/imake
 TOOLS_FIND_PREFIX+=    TOOLS_PREFIX.${_t_}=imake
 TOOLS_PATH.${_t_}=     ${TOOLS_PREFIX.${_t_}}/bin/${_t_}

Is there a better solution?

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index