Ignore:
Timestamp:
Apr 4, 2014, 10:58:04 PM (6 years ago)
Author:
cal@…
Message:

base: remove all references to macports_tcl_dir, install Tcl packages in TCL_PACKAGE_PATH directly, fixes #43208

This completely removes the need for macports_fastload.tcl and all the other
hacks that MacPorts has been using to locate its own packages (such as appending
to $auto_path during mportinit and preloading some packages).

Note: ${TCL_PACKAGE_PATH}/macports1.0 previously was a symlink and now is
a directory. When the symlink isn't removed before trying to create the
directory, this causes a failure. The Makefile now ensures this doesn't happen,
but I don't know what installer(8) will do in this case. This means we might
have to add delete the symlink in installer preflight.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/cflib1.0/Makefile.in

    r117621 r118562  
    11srcdir = @srcdir@
    22VPATH  = @srcdir@
     3
     4include ../../Mk/macports.autoconf.mk
    35
    46OBJS=           CFLib.o
    57SHLIB_NAME=     CFLib${SHLIB_SUFFIX}
    68LIBS+=          -framework CoreFoundation
    7 INSTALLDIR= ${DESTDIR}${datadir}/macports/Tcl/cflib1.0
     9INSTALLDIR= ${DESTDIR}${TCL_PACKAGE_PATH}/cflib1.0
    810
    9 include ../../Mk/macports.autoconf.mk
    1011include $(srcdir)/../../Mk/macports.tea.mk
Note: See TracChangeset for help on using the changeset viewer.