[119764] trunk/dports/gis

Ryan Schmidt ryandesign at macports.org
Mon May 5 19:30:23 PDT 2014


On May 5, 2014, at 20:28, pixilla at macports.org wrote:

> Revision
> 119764
> Author
> pixilla at macports.org
> Date
> 2014-05-05 18:28:38 -0700 (Mon, 05 May 2014)
> Log Message
> 
> gis/terra:
> - New port.
> 
> Added Paths
> 
> 	• trunk/dports/gis/terra/
> 	• trunk/dports/gis/terra/Portfile
> 	• trunk/dports/gis/terra/files/
> 	• trunk/dports/gis/terra/files/terra.patches


> +diff -u ../terra.orig/Makefile ./Makefile
> +--- ../terra.orig/Makefile	1996-01-30 08:35:20.000000000 -0800
> ++++ ./Makefile	2014-03-18 16:52:05.000000000 -0700
> +@@ -4,23 +4,24 @@
> + # You should change these to fit your system.
> + #
> + 
> +-CC = cc
> +-C++ = CC
> ++CC = gcc
> ++C++ = g++

You need to ensure you’re UsingTheRightCompiler here. CC should be the value of ${configure.cc}; C++ should be the value of ${configure.cxx}. You may need to use configure.env, configure.args or a post-patch reinplace to accomplish this.

> +-OPTFLAGS = -g -mips2 
> ++# OPTFLAGS = -g -mips2 
> + # OPTFLAGS = -O2 -mips2
> ++OPTFLAGS = -g -Wall

Consider adding the value of ${configure.optflags} to this.

> + #
> + # This defines the location of the GLUT libraries
> + #
> +-ANIM = /afs/cs/project/anim/garland
> ++ANIM = /opt/local
> + GLUT_FLAGS = 
> + GLUT_INCDIR = $(ANIM)/include
> + GLUT_LIBDIR = $(ANIM)/lib

You need to ensure that the value of ${prefix} is used here.





More information about the macports-dev mailing list