Up to [cvs.NetBSD.org] / pkgsrc / wm / ion
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pkgsrc-2008Q1-base
Revision 1.34 / (download) - annotate - [select for diffs], Wed Feb 27 22:31:52 2008 UTC (16 years, 1 month ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base,
pkgsrc-2008Q1
Changes since 1.33: +6 -4
lines
Diff to previous 1.33 (colored)
+ Add full DESTDIR support in the least intrusive way possible. The strategy is to leave alone the install targets sprinkled all over the Makefiles and instead to two thigns: (1) Define new INST_* variants of BINDIR, ETCDIR, MODULEDIR, etc. that are the "final" installation locations, and thus may be hardcoded into the program. (2) Modify the definitions of BINDIR, ETCDIR, MODULEDIR, etc. to point to $(DESTDIR)$(INST_*). These variables can be used in the _install targets without any changes.