Ticket #32887: nu2-2.0.1.diff

File nu2-2.0.1.diff, 3.4 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)

proposed patch

  • files/patch-tools_nuke.diff

     
    1 --- tools/nuke.orig     2011-09-26 23:13:08.000000000 +0200
    2 +++ tools/nuke  2011-09-26 23:13:45.000000000 +0200
    3 @@ -568,6 +568,7 @@
    4      
    5       ;; framework architecture-specific executable
    6       (set @framework_executables (NSMutableArray array))
    7 +     (set @framework_install_path "#{FRAMEWORK_ROOT}")     
    8       (@arch each:
    9              (do (architecture)
    10                  (set framework_executable "build/#{architecture}/framework-#{@framework}")
     1--- tools/nuke.orig     2011-09-02 15:23:51.000000000 -0500
     2+++ tools/nuke  2012-01-15 02:32:45.000000000 -0600
     3@@ -579,6 +579,7 @@
     4             
     5             ;; framework architecture-specific executable
     6             (set @framework_executables (NSMutableArray array))
     7+            (set @framework_install_path "#{FRAMEWORK_ROOT}")
     8             (@arch each:
     9                    (do (architecture)
     10                        (set framework_executable "build/#{architecture}/framework-#{@framework}")
  • files/patch-Nukefile.diff

     
    1 --- Nukefile.orig       2011-10-04 08:21:17.000000000 +0200
    2 +++ Nukefile    2011-10-04 08:25:35.000000000 +0200
     1--- Nukefile.orig       2011-09-02 15:23:51.000000000 -0500
     2+++ Nukefile    2012-01-15 02:34:31.000000000 -0600
    33@@ -59,14 +59,6 @@
    44 (if (NSFileManager directoryExistsNamed:"#{@prefix}/include") (@inc_dirs addObject:"#{@prefix}/include"))
    55 (if (NSFileManager directoryExistsNamed:"#{@prefix}/lib") (@lib_dirs addObject:"#{@prefix}/lib"))
     
    4343 
    4444 (set @cflags "-Wall -g -std=gnu99 -fPIC")
    4545 
    46 @@ -114,10 +92,7 @@
     46@@ -113,10 +92,7 @@
    4747 (set @cflags (+ @cflags " -DHAVE_CONFIG_H"))
    4848 
    4949 (ifDarwin
    50 -         (then (set @arch '("i386")))) ;; optionally add "ppc" or "ppc64" to the list
     50-         (then (set @arch '()))) ;; optionally add "ppc" or "ppc64" to the list
    5151-
    5252-(if (or isSnowLeopard isLion)
    5353-       (then (set @arch (append @arch '("x86_64")))))
  • Portfile

     
    44
    55name                nu2
    66version             2.0.1
    7 set commit          a23f145df3a55c90205d66b5f69228dbca92ac99
     7revision            1
    88categories          devel
    99maintainers         nomaintainer
    1010license             Apache-2.0
     
    2020    are implemented in Objective-C or Nu.
    2121
    2222homepage            http://programming.nu/
     23master_sites        ${homepage}releases
     24distname            Nu-${version}
     25extract.suffix      .tgz
     26
    2327platforms           darwin
    24 master_sites        https://nodeload.github.com/ksjogo/nu/tarball
    25 distfiles           ${commit}
    26 distname            ksjogo-nu-a23f145
    27 checksums           rmd160  a339cd7cf72b865fab04ca09cb17d4a7f6426ca5 \
    28                     sha256  526871eea14c2dd997d9a441a89a1be0b0aa8de64729a6207175d517546b564b
    2928
     29checksums           rmd160  b461b08fb7cf9e1a5569fbf85b411e62320f5cab \
     30                    sha256  bfaf9f17a2dbf0ef85cb3db267f2d773b14504aedd78e16580a61cfed676c4f4
     31
    3032use_configure       no
    3133variant universal   {}
    3234depends_build       port:pkgconfig