summaryrefslogtreecommitdiff
path: root/graphics/rayshade
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-04-07 13:32:34 +0000
committerhubertf <hubertf@pkgsrc.org>2000-04-07 13:32:34 +0000
commit3bb239edb1d04cdcdf2175dd5a836e80eb957de1 (patch)
treea3482d2a2df04fc3f67fbcee261cbae725ccbe5a /graphics/rayshade
parent5ce609ddb29ab02c7fa05ae088de6dc692c2a62b (diff)
downloadpkgsrc-3bb239edb1d04cdcdf2175dd5a836e80eb957de1.tar.gz
Don't fondle with the private parts of a (literally) half-baked package,
esp. as it's required to be fully installed anyways.
Diffstat (limited to 'graphics/rayshade')
-rw-r--r--graphics/rayshade/Makefile5
-rw-r--r--graphics/rayshade/files/config.ans4
2 files changed, 4 insertions, 5 deletions
diff --git a/graphics/rayshade/Makefile b/graphics/rayshade/Makefile
index c6e1e36373e..b059649a4f8 100644
--- a/graphics/rayshade/Makefile
+++ b/graphics/rayshade/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/03/27 08:54:57 tron Exp $
+# $NetBSD: Makefile,v 1.6 2000/04/07 13:32:34 hubertf Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1998/05/26 04:04:11 mph Exp
#
@@ -11,7 +11,6 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= packages@netbsd.org
-BUILD_DEPENDS= ${BUILD_ROOT}/graphics/urt/${WRKDIR:T}/include/rle.h:../../graphics/urt:configure
DEPENDS+= urt-3.1b1:../../graphics/urt
HAS_CONFIGURE= yes
@@ -22,7 +21,7 @@ ALL_TARGET=
pre-configure:
${SED} -e 's|@CFLAGS@|${CFLAGS}|g' \
-e 's|\$${PREFIX}|${PREFIX}|g' \
- -e 's|\$${URTDIR}|${BUILD_ROOT}/graphics/urt/${WRKDIR:T}|g' \
+ -e 's|\$${LOCALBASE}|${LOCALBASE}|g' \
${FILESDIR}/config.ans > ${WRKDIR}/config.ans
do-install:
diff --git a/graphics/rayshade/files/config.ans b/graphics/rayshade/files/config.ans
index 4725073c076..e7c60f3f382 100644
--- a/graphics/rayshade/files/config.ans
+++ b/graphics/rayshade/files/config.ans
@@ -5,9 +5,9 @@ clock_t
cc
@CFLAGS@
--I${PREFIX}/include -I${URTDIR}/include
+-I${PREFIX}/include -I${LOCALBASE}/include
-${URTDIR}
+${LOCALBASE}/include
${PREFIX}/lib/librle.a
drand48
11