summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-08-06 23:07:09 +0000
committertron <tron@pkgsrc.org>2000-08-06 23:07:09 +0000
commit53d60981b13f4dd0575f541512e3dc3f37a4f00a (patch)
tree738acf9b5b4b779a565516488bd46e2822c95054 /audio
parentdbc42141c0da7c71215595f1f4962424c57702fc (diff)
downloadpkgsrc-53d60981b13f4dd0575f541512e3dc3f37a4f00a.tar.gz
Only set "XAUTHORITY" for "do-extract" target if we really found a
X11 authorization file.
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