Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Feb 2005 14:19:33 -0800
From:      Joe Rhett <jrhett@meer.net>
To:        FreeBSD-gnats-submit@freebsd.org, freebsd-i386@freebsd.org
Subject:   Re: i386/76019: use RTR compilation to remove dependancy on compat3x(FORBIDDEN)
Message-ID:  <72674d1524dbbcf67bbc0c446030673f@meer.net>
In-Reply-To: <200501092330.j09NUTKs046317@freefall.freebsd.org>
References:  <200501092330.j09NUTKs046317@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-1-226554354
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Here's the patch for the Makefile.  This removes the compat3x 
dependancy, and instructs the user on how to download the RTR binaries.


--Apple-Mail-1-226554354
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="Makefile.patch"
Content-Disposition: attachment;
	filename=Makefile.patch

--- Makefile.orig	Sun Jan  9 13:57:19 2005
+++ Makefile	Wed Feb  2 14:15:40 2005
@@ -9,11 +9,12 @@
 PORTVERSION=	5.0.2.2623
 PORTREVISION=	1
 CATEGORIES=	www
-MASTER_SITES=	ftp://ftp.microsoft.com/products/frontpage/ \
-		ftp://www.westbend.net/pub/microsoft/frontpage/
+MASTER_SITES=
+DOWNLOAD_URL=	http://www.rtr.com/fpsupport/fp2002sr1_download.htm
 DISTFILES=	${FRONTPAGE}
+EXTRACT_SUFX=	.tar.gz
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	jrhett@meer.net
 COMMENT=	Microsoft Frontpage 2002 Extensions
 
 .include <bsd.port.pre.mk>
@@ -26,30 +27,33 @@
 
 .if ${ARCH} == i386
 .ifdef WANT_BSDI_EXT
-FRONTPAGE=	fp${FP_VER:S/.//}.bsdi.tar.Z
+FRONTPAGE=	fp${FP_VER:S/.//}.bsdi${EXTRACT_SUFX}
 EXTRA_PATCHES=	${FILESDIR}/fp_install.bsdi
 .if ${OSVERSION} < 4300001 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500014 )
 PKGMESSAGE=	pkg-message.bsdi
 .endif
 .else
-.if (defined(BATCH) && ${BATCH} == YES ) || !exists(/usr/lib/compat/libc.so.3)
-LIB_DEPENDS+=	c.3:${PORTSDIR}/misc/compat3x
-.endif
-FRONTPAGE=	fp${FP_VER:S/.//}.freebsd.tar.Z
+FRONTPAGE=	fp${FP_VER:S/.//}.freebsd${EXTRACT_SUFX}
 .if ${OSVERSION} < 4300001 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500014 )
 PKGMESSAGE=	pkg-message.freebsd
 .endif
 .endif
 .elif ${ARCH} == alpha
-FRONTPAGE=	fp${FP_VER:S/.//}.alpha.tar.Z
+FRONTPAGE=	fp${FP_VER:S/.//}.alpha${EXTRACT_SUFX}
 EXTRA_PATCHES=	${FILESDIR}/fp_install.alpha
 .endif
 
 .ifdef ALL_FP
-FRONTPAGE=	fp${FP_VER:S/.//}.freebsd.tar.Z \
-		fp${FP_VER:S/.//}.bsdi.tar.Z \
-		fp${FP_VER:S/.//}.alpha.tar.Z
+FRONTPAGE=	fp${FP_VER:S/.//}.freebsd${EXTRACT_SUFX} \
+		fp${FP_VER:S/.//}.bsdi${EXTRACT_SUFX} \
+		fp${FP_VER:S/.//}.alpha${EXTRACT_SUFX}
+.endif
+
+.for file in ${FRONTPAGE}
+.if !exists(${DISTDIR}/${file}) && !defined(PACKAGE_BUILDING)
+IGNORE=You must agree to the EULA at ${DOWNLOAD_URL} to download the file ${file}. Place in ${DISTDIR} and run make again
 .endif
+.endfor
 
 EXTRACT_ONLY=
 NO_WRKSUBDIR=	yes

--Apple-Mail-1-226554354
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed



-- 
Joe Rhett
Senior Geek
meer.net

--Apple-Mail-1-226554354--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72674d1524dbbcf67bbc0c446030673f>