Ignore:
Timestamp:
Apr 9, 2003, 4:53:53 AM (18 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/pextlib1.0/Makefile

    r2379 r2426  
    11OBJS=           Pextlib.o strsed.o
    22SHLIB_NAME=     Pextlib
    3 LDADD+=         -ltcl
    43INSTALLDIR= ${DESTDIR}${PREFIX}/share/darwinports/Tcl/pextlib1.0
    5 COMPILE=        ../../scripts/compile.sh
    6 LINK=           ../../scripts/link.sh
    7 
     4COMPILE=        ../../scripts/config.sh compile
     5LINK=           ../../scripts/config.sh link
     6SHLIB_SO=       `../../scripts/config.sh shlibname ${SHLIB_NAME}`
    87
    98.c.o:
     
    1110
    1211Pextlib.dylib: ${OBJS}
    13         @${LINK} ${SHLIB_NAME} ${OBJS}
     12        ${LINK} ${SHLIB_NAME} ${OBJS}
    1413
    1514all: Pextlib.dylib
    1615
    1716clean:
    18         rm -f ${OBJS} `${LINK} -n ${SHLIB_NAME}`
     17        rm -f ${OBJS} ${SHLIB_SO}
    1918
    2019install: all
    2120        mkdir -p ${INSTALLDIR}
    22         install -c -o "${DSTUSR}" -g "${DSTGRP}" -m 444 `${LINK} -n ${SHLIB_NAME}` ${INSTALLDIR}
     21        install -c -o "${DSTUSR}" -g "${DSTGRP}" -m 444 ${SHLIB_SO} ${INSTALLDIR}
    2322        ../pkg_mkindex.tcl ${INSTALLDIR}
    2423
Note: See TracChangeset for help on using the changeset viewer.