summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/realplayer7/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/realplayer7/Makefile b/audio/realplayer7/Makefile
index 94f7986418f..60642396cf2 100644
--- a/audio/realplayer7/Makefile
+++ b/audio/realplayer7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/08/06 23:04:32 tron Exp $
+# $NetBSD: Makefile,v 1.4 2000/08/06 23:07:09 tron Exp $
#
DISTNAME= rp7_linux20_libc6_i386_b2
@@ -21,8 +21,13 @@ IS_INTERACTIVE= yes
NO_CONFIGURE= yes
RP_INSTALLER= ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
+EXTRACT_CMD= HOME=${WRKDIR} ${RP_INSTALLER}
XAUTHORITY?= ${HOME}/.Xauthority
+.if exists(${XAUTHORITY})
EXTRACT_CMD= HOME=${WRKDIR} XAUTHORITY=${XAUTHORITY} ${RP_INSTALLER}
+.else
+EXTRACT_CMD= HOME=${WRKDIR} ${RP_INSTALLER}
+.endif
DOWNLOAD= ${HOMEPAGE}
REALPLAYER_HOME= ${PREFIX}/lib/RealPlayer7