Changeset 80802
- Timestamp:
- 07/17/11 11:59:23 (4 years ago)
- Location:
- trunk/dports/graphics/wxWidgets-devel
- Files:
-
- 2 edited
-
Portfile (modified) (5 diffs)
-
files/patch-configure-change_install_names.diff (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/wxWidgets-devel/Portfile
r79389 r80802 6 6 name wxWidgets-devel 7 7 conflicts wxgtk wxWidgets 8 version 2.9. 19 revision 2 8 version 2.9.2 9 10 10 categories graphics devel 11 11 platforms darwin … … 28 28 distfiles ${distname}-${version}${extract.suffix} 29 29 dist_subdir ${distname}/${version} 30 checksums md5 81c20d7b2ba31becb18e467dbe09be8f \ 31 sha1 3ffe0614acce46448f5c14942176fb2daa6efd00 \ 32 rmd160 106f5b0238e31e12bbede7f1c2cf0e0134076e29 30 31 checksums md5 d6cec5bd331ba90b74c1e2fcb0563620 \ 32 sha1 1487a8ed4f48cc1bd0c4d37de9385c8edd1a024b \ 33 rmd160 f6d85672f02d8888bd779f5bcde5e902f0f6339b 33 34 34 35 depends_lib port:jpeg \ … … 66 67 --with-cocoa \ 67 68 --enable-unicode \ 68 --enable-display \ 69 --enable-monolithic 69 --enable-display 70 70 71 71 build.target … … 83 83 } 84 84 85 variant nonmonolithic description {build libraries separately} {86 configure.args- delete--enable-monolithic85 variant monolithic description {build only one library} { 86 configure.args-append --enable-monolithic 87 87 } 88 88 … … 93 93 livecheck.type regex 94 94 livecheck.url ${homepage}/downloads/ 95 livecheck.regex Current StableRelease.*(2\\.\[0-9\]\\.\[0-9\]+)95 livecheck.regex Latest Development Release.*(2\\.\[0-9\]\\.\[0-9\]+) -
trunk/dports/graphics/wxWidgets-devel/files/patch-configure-change_install_names.diff
r79390 r80802 1 1 --- configure.orig 2011-01-13 02:34:25.000000000 -0800 2 2 +++ configure 2011-01-13 02:33:45.000000000 -0800 3 @@ -3 4968,16 +34968,18 @@3 @@ -35366,16 +35366,18 @@ 4 4 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@" 5 5 cat <<EOF >change-install-names 6 6 #!/bin/sh 7 -libnames=\`cd \${ 1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`7 -libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\` 8 8 -for i in \${libnames} ; do 9 - ${HOST_PREFIX}install_name_tool -id \${ 1}/\${i} \${1}/\${i}9 - ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i} 10 10 - for dep in \${libnames} ; do 11 - ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${ 1}/\${dep} \${1}/\${i}11 - ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i} 12 12 - done 13 13 +libnames=\`find -E \$4 -type f -a -regex '.*\.[0-9]+\.dylib' -exec basename '{}' \;\` … … 22 22 EOF 23 23 chmod +x change-install-names 24 - DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${ libdir} \$(wx_top_builddir)/lib"24 - DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}" 25 25 + DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \${DESTDIR}\${bindir} \${libdir} \$(wx_top_builddir)/lib" 26 26 fi … … 29 29 --- configure.in.orig 2011-01-13 02:34:15.000000000 -0800 30 30 +++ configure.in 2011-01-13 02:32:44.000000000 -0800 31 @@ - 3989,16 +3989,18 @@31 @@ -4004,16 +4004,18 @@ 32 32 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@" 33 33 cat <<EOF >change-install-names 34 34 #!/bin/sh 35 -libnames=\`cd \${ 1} ; ls -1 | grep '\.[[0-9]][[0-9]]*\.dylib\$'\`35 -libnames=\`cd \${2} ; ls -1 | grep '\.[[0-9]][[0-9]]*\.dylib\$'\` 36 36 -for i in \${libnames} ; do 37 - ${HOST_PREFIX}install_name_tool -id \${ 1}/\${i} \${1}/\${i}37 - ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i} 38 38 - for dep in \${libnames} ; do 39 - ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${ 1}/\${dep} \${1}/\${i}39 - ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i} 40 40 - done 41 41 +libnames=\`find \$4 -type f -a -regex '.*\.[0-9]+\.dylib' -exec basename '{}' \;\` … … 50 50 EOF 51 51 chmod +x change-install-names 52 - DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${ libdir} \$(wx_top_builddir)/lib"52 - DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}" 53 53 + DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \${DESTDIR}\${bindir} \${libdir} \$(wx_top_builddir)/lib" 54 54 fi
Note: See TracChangeset
for help on using the changeset viewer.

