[MacPorts] snc modified

MacPorts noreply at macports.org
Sun Apr 19 02:59:33 PDT 2009


Changed page "snc" by ryandesign at macports.org from 24.243.1.112*
Page URL: <http://trac.macports.org/wiki/snc>
Diff URL: <http://trac.macports.org/wiki/snc?action=diff&version=29>
Revision 29
Comment: more DESTROOT -> DESTDIR

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: snc
=========================================================================
--- snc (version: 28)
+++ snc (version: 29)
@@ -17,7 +17,7 @@
 === Steps to Installing to Destroot ===
  1. Do nothing: MacPorts already puts{{{ DESTDIR=${destroot} }}}into {{{destroot.destdir}}} and most Makefiles support this.
  1. If there is another variable you need to use, overwrite {{{destroot.destdir}}} (perhaps{{{ destroot.destdir INSTALL_ROOT=${destroot}${prefix} }}}or{{{ destroot.destdir PREFIX=${destroot}${prefix} }}}).
- 1. If the Makefile doesn't support {{{DESTROOT}}}, request from the author that they do. If they won't or you can't wait for their fix, patch the Makefile to support {{{DESTROOT}}}, or override the destroot phase entirely and {{{xinstall}}} the files into place in the portfile.
+ 1. If the Makefile doesn't support {{{DESTDIR}}}, request from the author that they do. If they won't or you can't wait for their fix, patch the Makefile to support {{{DESTDIR}}}, or override the destroot phase entirely and {{{xinstall}}} the files into place in the portfile.
  1. Sometimes in {{{post-destroot}}} you have to{{{ reinplace s|${destroot}|| somefiles }}}because the destroot path has gotten inserted into them.
 === Steps to Fixing Libs/Includes ===
  1. Do nothing: MacPorts already puts {{{-L${prefix}/lib}}} in {{{configure.ldflags}}} and {{{-I${prefix}/include}}} in {{{configure.cflags}}} so that most MacPorts software should be automatically found.

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on snc. If it was not you, please
report to .


More information about the macports-changes mailing list