From 11a8ef61f606997571179a992030d7d2a487fba9 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sun, 19 Aug 2001 08:33:28 +0000 Subject: Avoid the usage of a variable named "BROWSER", not to conflict with user's environment variable with the same name. cf. http://tuxedo.org/~esr/BROWSER/ http://www.dwheeler.com/browse/secure_browser.html Approved by: cjh, girgen@partitur.se, sada, trevor --- www/netscape48-communicator/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'www/netscape48-communicator/Makefile') diff --git a/www/netscape48-communicator/Makefile b/www/netscape48-communicator/Makefile index b9254f531e50..a7b7814e14e0 100644 --- a/www/netscape48-communicator/Makefile +++ b/www/netscape48-communicator/Makefile @@ -30,12 +30,12 @@ USE_XLIB= yes NO_BUILD= yes NO_FILTER_SHLIBS= yes STRIP= -WRKSRC?= ${WRKDIR}/${BROWSER}-v408.x86-unknown-freebsd +WRKSRC?= ${WRKDIR}/${BROWSER_NAME}-v408.x86-unknown-freebsd PKGDIR= ${.CURDIR} AUTOADMIN?= autoadmin-v408.x86-unknown-freebsd.tar.gz -BROWSER?= communicator -BROWSER_ARC?= ${BROWSER} +BROWSER_NAME?= communicator +BROWSER_ARC?= ${BROWSER_NAME} BROWSER_VER?= 4.08 FORTIFY= Fortify-1.4.6-unix-x86 NDIR= ${PREFIX}/${NSUBDIR} @@ -48,7 +48,7 @@ MAILCAP?= ${MASTERDIR}/files/mailcap PLIST_SUB= BROWSER=${BROWSER_ARC} BROWSER_VER=${BROWSER_VER} \ NSUBDIR=${NSUBDIR} -.if (${BROWSER} == "communicator") && !defined(NO_AUTOADMIN) +.if (${BROWSER_NAME} == "communicator") && !defined(NO_AUTOADMIN) DISTFILES+= ${AUTOADMIN} .endif @@ -110,7 +110,7 @@ do-install: ${INSTALL_DATA} ${MAILCAP} ${NDIR}; \ fi ${RM} -rf ${NDIR}/movemail-src -.if (${BROWSER} == "communicator") && !defined(NO_AUTOADMIN) +.if (${BROWSER_NAME} == "communicator") && !defined(NO_AUTOADMIN) tar zxf ${DISTDIR}/${AUTOADMIN} -C ${NDIR} .endif .if defined(WITH_128BIT) && !defined(NO_FORTIFY) -- cgit v1.2.3