[52040] trunk/dports/games/jnethack

ryandesign at macports.org ryandesign at macports.org
Mon Jun 8 12:49:38 PDT 2009


Revision: 52040
          http://trac.macports.org/changeset/52040
Author:   ryandesign at macports.org
Date:     2009-06-08 12:49:26 -0700 (Mon, 08 Jun 2009)
Log Message:
-----------
jnethack: use ${configure.cc}; fixes #19892

Modified Paths:
--------------
    trunk/dports/games/jnethack/Portfile
    trunk/dports/games/jnethack/files/patch-sys_unix_Makefile.src.diff
    trunk/dports/games/jnethack/files/patch-sys_unix_Makefile.utl.diff

Modified: trunk/dports/games/jnethack/Portfile
===================================================================
--- trunk/dports/games/jnethack/Portfile	2009-06-08 19:03:54 UTC (rev 52039)
+++ trunk/dports/games/jnethack/Portfile	2009-06-08 19:49:26 UTC (rev 52040)
@@ -81,6 +81,7 @@
 ## build ##
 
 use_parallel_build  no
+build.env-append    CC=${configure.cc}
 
 ## destroot ##
 

Modified: trunk/dports/games/jnethack/files/patch-sys_unix_Makefile.src.diff
===================================================================
--- trunk/dports/games/jnethack/files/patch-sys_unix_Makefile.src.diff	2009-06-08 19:03:54 UTC (rev 52039)
+++ trunk/dports/games/jnethack/files/patch-sys_unix_Makefile.src.diff	2009-06-08 19:49:26 UTC (rev 52040)
@@ -9,6 +9,15 @@
  
  # Pick the SYSSRC and SYSOBJ lines corresponding to your desired operating
  # system.
+@@ -72,7 +72,7 @@
+ #
+ #	If you are using GCC 2.2.2 or higher on a DPX/2, just use:
+ #
+-CC = gcc
++#CC = gcc
+ #
+ #	For HP/UX 10.20 with GCC:
+ # CC = gcc -D_POSIX_SOURCE
 @@ -154,8 +154,8 @@
  # flags for debugging:
  # CFLAGS = -g -I../include

Modified: trunk/dports/games/jnethack/files/patch-sys_unix_Makefile.utl.diff
===================================================================
--- trunk/dports/games/jnethack/files/patch-sys_unix_Makefile.utl.diff	2009-06-08 19:03:54 UTC (rev 52039)
+++ trunk/dports/games/jnethack/files/patch-sys_unix_Makefile.utl.diff	2009-06-08 19:49:26 UTC (rev 52040)
@@ -1,5 +1,14 @@
 --- sys/unix/Makefile.utl.orig	2008-05-12 10:17:59.000000000 +0900
 +++ sys/unix/Makefile.utl	2008-05-12 10:19:33.000000000 +0900
+@@ -15,7 +15,7 @@
+ 
+ # if you are using gcc as your compiler,
+ #	uncomment the CC definition below if it's not in your environment
+-CC = gcc
++#CC = gcc
+ #
+ #	For Bull DPX/2 systems at B.O.S. 2.0 or higher use the following:
+ #
 @@ -89,8 +89,8 @@
  # flags for debugging:
  # CFLAGS = -g -I../include
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090608/229b0c15/attachment.html>


More information about the macports-changes mailing list