pkgsrc/graphics/radiance/patches/patch-ad
jschauma b984db48e2 Initial import of Radiance (aka ``ray'') into pkgsrc.
Radiance is a physically based rendering package written largely by Greg Ward,
initially at LBNL, EPFL, then SGI, now running Anyhere Software. It is a
physically-based, image-generating, backward raytracer with very a powerful
rendering engine. It is used worldwide for lighting analysis and can generate
accurate values for radiance/luminance (W/sr.m^2,cd/m^2) and
irradiance/illuminance (W/m,Lux).

http://www.radiance-online.org/
2005-02-16 22:17:33 +00:00

24 lines
530 B
Text

$NetBSD: patch-ad,v 1.1.1.1 2005/02/16 22:17:33 jschauma Exp $
--- ./src/cal/Rmakefile.orig 2005-02-15 14:27:20.000000000 -0500
+++ ./src/cal/Rmakefile 2005-02-15 14:28:10.000000000 -0500
@@ -5,17 +5,15 @@
OPT = -O
-CC = cc
-
MACH = -DIEEE
DEFS = -DBIGGERLIB
-CFLAGS = $(OPT) $(MACH) $(DEFS) -I../common -L../lib
+CFLAGS += $(OPT) $(MACH) $(DEFS) -I../common -L../lib ${LDFLAGS}
MLIB = -lm
-INSTDIR = /usr/local/bin
+INSTDIR = @WRKSRC@/radiance/bin
PROGS = icalc ev rcalc total cnt neaten rlam tabfunc histo