[79640] trunk/dports/x11/wine-devel/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue Jun 21 20:17:02 PDT 2011
Revision: 79640
http://trac.macports.org/changeset/79640
Author: jeremyhu at macports.org
Date: 2011-06-21 20:16:58 -0700 (Tue, 21 Jun 2011)
Log Message:
-----------
wine-devel: Fixes for darwin11
Also fixed reference to libwine and removed an unrecognized configure option
Modified Paths:
--------------
trunk/dports/x11/wine-devel/Portfile
Modified: trunk/dports/x11/wine-devel/Portfile
===================================================================
--- trunk/dports/x11/wine-devel/Portfile 2011-06-22 02:34:02 UTC (rev 79639)
+++ trunk/dports/x11/wine-devel/Portfile 2011-06-22 03:16:58 UTC (rev 79640)
@@ -9,6 +9,7 @@
conflicts wine wine-crossover-games
set my_name wine
version 1.3.22
+revision 1
license LGPL-2.1+
categories x11
maintainers ryandesign jwa openmaintainer
@@ -96,7 +97,6 @@
-lz
configure.args --without-alsa \
- --without-audioio \
--without-capi \
--with-cms \
--with-coreaudio \
@@ -157,6 +157,19 @@
platform darwin 11 {
# _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o
configure.cppflags-append -D_DARWIN_NO_64_BIT_INODE
+
+ # llvm-gcc does not respect force_align_arg_pointer
+ # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly)
+ configure.compiler gcc-4.2
+
+ # I have a suspicion that this may be necessary, but leaving out for now:
+ #post-patch {
+ # # Lion disallows heap execution.
+ # reinplace "s:LDEXECFLAGS = :LDEXECFLAGS = -Wl,-allow_heap_execute :" ${worksrcpath}/loader/Makefile.in
+ #}
+
+ # Needed or wine will SIGBUS
+ configure.ldflags-append -Wl,-no_pie
}
pre-fetch {
@@ -169,6 +182,8 @@
post-destroot {
xinstall -d ${destroot}${prefix}/libexec/wine
file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/libexec/wine/wine
+ system "install_name_tool -change @executable_path/../lib/libwine.1.dylib @executable_path/../../lib/libwine.1.dylib ${destroot}${prefix}/libexec/wine/wine"
+
xinstall ${filespath}/wine.in ${destroot}${prefix}/bin/wine
reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110621/9a038d8d/attachment.html>
More information about the macports-changes
mailing list