Opened 18 years ago

Closed 18 years ago

#10635 closed defect (fixed)

Portfile Update: fish shell

Reported by: francisga@… Owned by: yeled@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: dports portfile fish shell Cc:
Port:

Description (last modified by yeled@…)

The version of fish currently in the port has a bug which renders it unusable in darwin. This bug was fixed many, many versions ago. This diff updates the portfile to the latest release version of the fish shell.

--- /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/shells/fish/Portfile        2006-08-30 01:19:35.000000000 -0400
+++ Portfile    2006-08-31 12:37:58.000000000 -0400
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name                   fish
-version                        1.18.2
+version                        1.21.11
 categories             shells
 platforms              darwin
 maintainers            darwinports@opendarwin.org
@@ -13,7 +13,7 @@
 
 homepage               http://roo.no-ip.org/fish/
 master_sites   http://roo.no-ip.org/fish/files/${version}/
-checksums              md5 cafc651d5fac00b10d36509b66aab090
+checksums              md5 522fba3b00939f9c36f2eac14ffc10a6
 use_bzip2              yes
 
 depends_build  bin:doxygen:doxygen
@@ -22,5 +22,13 @@
 
 platform darwin 8 {
        configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+
+        # The following fixes a build bug in 1.21.11. Fixed for 1.21.12.
+        # See http://comments.gmane.org/gmane.comp.shells.fish.user/672
+        post-configure {
+            reinplace "s|-D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112L||" \
+                      "${worksrcpath}/Makefile"
+    }
+
 }

Change History (2)

comment:1 Changed 18 years ago by yeled@…

Version: current1.3.2

comment:2 Changed 18 years ago by yeled@…

Description: modified (diff)
Resolution: fixed
Status: newclosed

thanks!

Note: See TracTickets for help on using tickets.