代码之家  ›  专栏  ›  技术社区  ›  stefanB

如何避免在MacPorts上安装不必要的依赖项?

  •  6
  • stefanB  · 技术社区  · 15 年前

    我试过通过MacPorts(在雪豹上)获取PostgreSQL 8.4,但似乎依赖性是无止境的-包括获取雪豹、厨房水槽中已有的旧版本的东西,谁知道最终我是否会使用Windows7……

    有没有一种方法可以只获取那些在Mac中从命令行运行东西绝对必要的依赖项?

    尤其是我试图避免安装旧版本的python、xorg包等等。

    有什么想法吗?到目前为止,似乎最好完全避免使用MacPorts。

    2 回复  |  直到 12 年前
        1
  •  8
  •   Ned Deily    15 年前

    port file for postgresql84 +python python2.5 Tk /opt/local/etc/macports/variants.conf

    tk +quartz broken on Snow Leopard

    port installed
    port -f uninstall tk Xft2 xorg-libX11 ...
    

    -y uninstall

    python26 +no_tkinter

        2
  •  6
  •   Eric Humphrey    14 年前

    port install sweetPort -depYouDontWant -depYouDontNeed ...