summaryrefslogtreecommitdiff
path: root/graphics/rayshade
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-04-07 13:32:34 +0000
committerhubertf <hubertf>2000-04-07 13:32:34 +0000
commit700828cd6fc7426556bd78879ccb206fb98e484f (patch)
treea3482d2a2df04fc3f67fbcee261cbae725ccbe5a /graphics/rayshade
parent560052bea8bcbed2bc7dbc74dc91dccf38905203 (diff)
downloadpkgsrc-700828cd6fc7426556bd78879ccb206fb98e484f.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