Ticket #12891: patch-Portfile

File patch-Portfile, 1.2 KB (added by darren.bane@…, 17 years ago)

Patch against aqua/emacs-app/Portfile

Line 
1--- Portfile.orig       Tue Oct  9 23:54:16 2007
2+++ Portfile    Wed Oct 10 00:50:45 2007
3@@ -2,7 +2,7 @@
4 
5 PortSystem 1.0
6 name           emacs-app
7-version                23.0.0_NS-9.0rc1
8+version                23.0.0_NS-9.0rc2
9 categories     aqua editors
10 maintainers    css@macports.org
11 description    The GNU Emacs text editor (Cocoa version)
12@@ -23,8 +23,8 @@
13 distname       emacs-${version}
14 extract.suffix .tar.bz2
15 use_bzip2      yes
16-checksums      md5 bbbe6ac08c74d921caf132352dd7fd1b \
17-               sha1 0964b2661577fb8a0551a38710b3d5cce168d7b8
18+checksums      md5 9dd618150fc87c5bab4cdbb5e50fda39 \
19+               sha1 0802bbec152db1bfcaf2a708b326b3ca1bffefb9
20 
21 depends_lib    port:coreutils \
22                port:pkgconfig \
23@@ -42,6 +42,10 @@
24 # Eventually build the port without the provided script...
25 # configure.args       --with-ns --without-x --prefix=${destroot}/Applications/MacPorts/Emacs.app/Contents/Resources
26 
27+platform darwin 7 {
28+       patchfiles      patch-compile
29+}
30+
31 platform darwin 8 {
32        if {$xcodeversion == "2.1"} {
33                set xcodebuilddir build/Deployment
34@@ -50,6 +54,7 @@
35 
36 build.dir      ${worksrcpath}/nextstep
37 build.cmd      ./compile
38+build.target
39 
40 # Due to the fact that the script compiles and installs everything
41 # into the source directory, the destroot phase must manually copy the