Ignore:
Timestamp:
Dec 3, 2008, 1:29:51 AM (12 years ago)
Author:
blb@…
Message:

base/Makefile.in - make sure install of setupenv.bash respects DESTDIR; only
run upgrade_sources_conf_default.tcl and dep_map_clean.tcl when not
installing into some sort of destroot (as in, DESTDIR isn't set)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/Makefile.in

    r42760 r42978  
    3838
    3939install::
    40         $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 setupenv.bash  ${datadir}/macports/
     40        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 setupenv.bash  $(DESTDIR)${datadir}/macports/
     41# Only run these scripts when not building in a destroot
     42ifeq ($(DESTDIR),)
    4143# Add [default] tag to the central MacPorts repository, if it isn't already
    4244        $(TCLSH) src/upgrade_sources_conf_default.tcl ${prefix}
    4345# Remove duplicate entries from the dependency map (could occur with 1.6 and earlier):
    4446        $(TCLSH) src/dep_map_clean.tcl ${TCL_PACKAGE_DIR}
     47endif
    4548        @echo ""; echo "Congratulations, you have successfully installed the MacPorts system. To get the Portfiles and update the system, run:"; echo ""
    4649        @echo "sudo port -v selfupdate"; echo ""
Note: See TracChangeset for help on using the changeset viewer.