[MacPorts] #30268: emacs-app @23.3 fails to build on Lion ("unexec: cannot write section __data")
MacPorts
noreply at macports.org
Sun Jul 31 06:12:53 PDT 2011
#30268: emacs-app @23.3 fails to build on Lion ("unexec: cannot write section
__data")
--------------------------------+-------------------------------------------
Reporter: jmdeldin@… | Owner: css@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: lion xcode4 | Port: emacs-app
--------------------------------+-------------------------------------------
Comment(by easieste@…):
Since these are OS X 10.7 specific patches, I think the eventual patch
should use a platform variant as follows
{{{
Index: Portfile
===================================================================
--- Portfile (revision 81471)
+++ Portfile (working copy)
@@ -34,12 +34,18 @@
configure.args --with-ns --without-x --without-dbus
-patchfiles patch-src_unexmacosx.c.diff
+patchfiles patch-src_unexmacosx.c.diff
variant fullscreen description {Add fullscreen patch from
http://gist.github.com/291150 as mentioned in http://www.sanityinc.com
/full-screen-support-for-cocoa-emacs-on-osx} {
patchfiles-append patch-fullscreen.diff
}
+platform darwin 11 {
+ patchfiles-append patch-fix-title-bar.diff patch-no-pie.diff
+ configure.cflags-append -fno-pie -O2
+ configure.ldflags-append -fno-pie
+}
+
destroot {
system "cd ${worksrcpath} && make install"
xinstall -m 755 -d ${destroot}${applications_dir}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/30268#comment:21>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list