pkgsrc/graphics/radiance/patches/patch-ag
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
587 B
Text

$NetBSD: patch-ag,v 1.1.1.1 2005/02/16 22:17:33 jschauma Exp $
--- ./src/gen/Rmakefile.orig 2005-02-15 14:30:45.000000000 -0500
+++ ./src/gen/Rmakefile 2005-02-15 14:31:25.000000000 -0500
@@ -5,13 +5,13 @@
OPT = -O
MACH = -DBSD
-CFLAGS = -I../common -L../lib $(OPT) $(MACH)
+CFLAGS += -I../common -L../lib $(OPT) $(MACH) ${LDFLAGS}
CC = cc
MLIB = -lm
-INSTDIR = /usr/local/bin
+INSTDIR = @WRKSRC@/radiance/bin
-LIBDIR = /usr/local/lib/ray
+LIBDIR = @WRKSRC@/raidance/lib
PROGS = genbox gensky xform genblinds genrev genworm \
gensurf genprism replmarks mkillum genclock