Ignore:
Timestamp:
Apr 9, 2003, 4:53:53 AM (17 years ago)
Author:
landonf (Landon Fuller)
Message:

Allow DarwinPorts to build out of the box on newer Darwin releases with Tcl 8.4

  • Remove references to 'tclsh8.3', replacing them with 'tclsh'. This will work everywhere except FreeBSD
  • Remove compile.sh, link.sh, and tcldir.sh, replacing them with config.sh. config.sh references the config data provided by TEA and allows us to steer clear of autoconf.
  • Modify all Makefiles to use config.sh
File:
1 edited

Legend:

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

    r2379 r2426  
    33LDADD+=         -ltcl
    44INSTALLDIR= ${DESTDIR}${PREFIX}/share/darwinports/Tcl/cflib1.0
    5 LINK=           ../../scripts/link.sh
    6 COMPILE=        ../../scripts/compile.sh
     5LINK=           ../../scripts/config.sh link
     6COMPILE=        ../../scripts/config.sh compile
     7SHLIB_SO=       `../../scripts/config.sh shlibname ${SHLIB_NAME}`
    78
    89.c.o:
     
    1011
    1112CFLib.dylib: ${OBJS}
    12         @${LINK} ${SHLIB_NAME} ${OBJS}
     13        ${LINK} ${SHLIB_NAME} ${OBJS} -framework CoreFoundation
    1314
    1415all: CFLib.dylib
    1516
    1617clean:
    17         rm -f ${OBJS} `${LINK} -n ${SHLIB_NAME}`
     18        rm -f ${OBJS} ${SHLIB_SO}
    1819
    1920install: all
    2021        mkdir -p ${INSTALLDIR}
    21         install -c -o "${DSTUSR}" -g "${DSTGRP}" -m 444 `${LINK} -n ${SHLIB_NAME}` ${INSTALLDIR}
     22        install -c -o "${DSTUSR}" -g "${DSTGRP}" -m 444 ${SHLIB_SO} ${INSTALLDIR}
    2223        ../pkg_mkindex.tcl ${INSTALLDIR}
    2324
Note: See TracChangeset for help on using the changeset viewer.