pkgsrc/graphics/radiance/patches/patch-aj
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

21 lines
534 B
Text

$NetBSD: patch-aj,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $
--- ./src/ot/Rmakefile.orig 2005-02-15 14:41:44.000000000 -0500
+++ ./src/ot/Rmakefile 2005-02-15 14:42:54.000000000 -0500
@@ -9,13 +9,12 @@
OPT = -O
MACH = -DBSD
-CFLAGS = -DSTRICT -I../common -L../lib $(OPT) $(MACH)
-CC = cc
+CFLAGS += -DSTRICT -I../common -L../lib $(OPT) $(MACH) ${LDFLAGS}
MLIB = -lm
-LIBDIR = /usr/local/lib/ray
+LIBDIR = @WRKSRC@/radiance/lib
-INSTDIR = /usr/local/bin
+INSTDIR = @WRKSRC@/radiance/bin
PROGS = oconv getbbox obj2mesh