i386/76019: use RTR compilation to remove dependancy on
compat3x(FORBIDDEN)
Joe Rhett
jrhett at meer.net
Wed Feb 2 14:30:23 PST 2005
The following reply was made to PR i386/76019; it has been noted by GNATS.
From: Joe Rhett <jrhett at meer.net>
To: FreeBSD-gnats-submit at freebsd.org, freebsd-i386 at freebsd.org
Cc:
Subject: Re: i386/76019: use RTR compilation to remove dependancy on compat3x(FORBIDDEN)
Date: Wed, 2 Feb 2005 14:19:33 -0800
--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 at FreeBSD.org
+MAINTAINER= jrhett at 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--
More information about the freebsd-i386
mailing list