[24788] trunk/dports/devel/cook

source_changes at macosforge.org source_changes at macosforge.org
Fri May 4 01:18:38 PDT 2007


Revision: 24788
          http://trac.macosforge.org/projects/macports/changeset/24788
Author:   boeyms at macports.org
Date:     2007-05-04 01:18:38 -0700 (Fri, 04 May 2007)

Log Message:
-----------
devel/cook:
 * adjust cook's internal manpath specification to allow "cook --VERSion
   -License" to work, as per #11783 (no response from maintainer after 3 weeks).

Modified Paths:
--------------
    trunk/dports/devel/cook/Portfile

Added Paths:
-----------
    trunk/dports/devel/cook/files/patch-common__help.c

Modified: trunk/dports/devel/cook/Portfile
===================================================================
--- trunk/dports/devel/cook/Portfile	2007-05-04 08:16:17 UTC (rev 24787)
+++ trunk/dports/devel/cook/Portfile	2007-05-04 08:18:38 UTC (rev 24788)
@@ -17,9 +17,11 @@
 platforms	darwin
 master_sites	${homepage}
 checksums	md5 548cfcfe4121a03fc9203f9491fb5a64
-patchfiles	patch-Makefile.in
+patchfiles	patch-Makefile.in patch-common__help.c
 pre-configure {
 	reinplace "s|\$(RPM_BUILD_ROOT)|${destroot}|g" \
 	   "${worksrcpath}/Makefile.in"
+	reinplace "s|__PREFIX__|${prefix}|g" \
+		"${worksrcpath}/common/help.c"
 }
 configure.args  --infodir=${prefix}/share/info --mandir=${prefix}/share/man

Added: trunk/dports/devel/cook/files/patch-common__help.c
===================================================================
--- trunk/dports/devel/cook/files/patch-common__help.c	                        (rev 0)
+++ trunk/dports/devel/cook/files/patch-common__help.c	2007-05-04 08:18:38 UTC (rev 24788)
@@ -0,0 +1,11 @@
+--- common/help.c	2007-03-18 21:58:15.000000000 +0000
++++ common/help.c.new	2007-04-16 09:18:16.000000000 +0000
+@@ -68,7 +68,7 @@
+         string_list_append(&manpath, s);
+         str_free(s);
+ 
+-        s = str_from_c("/usr/share/man");
++        s = str_from_c("__PREFIX__/share/man");
+         string_list_append(&manpath, s);
+         str_free(s);
+     }


Property changes on: trunk/dports/devel/cook/files/patch-common__help.c
___________________________________________________________________
Name: svn:eol-style
   + native

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070504/56b44780/attachment.html


More information about the macports-changes mailing list