From a918edc5917b020c227c061a988ce66259c6312e Mon Sep 17 00:00:00 2001 From: hubertf Date: Fri, 7 Apr 2000 13:32:34 +0000 Subject: Don't fondle with the private parts of a (literally) half-baked package, esp. as it's required to be fully installed anyways. --- graphics/rayshade/Makefile | 5 ++--- graphics/rayshade/files/config.ans | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'graphics/rayshade') 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 -- cgit v1.2.3