ports/53587: fix ports/lang/fpc so that it builds on FreeBSD 5.x

Matthew West mwest at uct.ac.za
Sat Jun 21 16:20:15 UTC 2003


>Number:         53587
>Category:       ports
>Synopsis:       fix ports/lang/fpc so that it builds on FreeBSD 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 21 09:20:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Matthew West
>Release:        FreeBSD 5.0-RELEASE-p1 i386
>Organization:
University of Cape Town
>Environment:

FreeBSD 5.x

>Description:

fix ports/lang/fpc so that it builds on FreeBSD 5.x
  - it was failing due to a dependancy on archivers/gtar, which is 
    only required for earlier versions of FreeBSD

remove gratuitous dependancy on print/acroread4

>How-To-Repeat:

>Fix:

--- Makefile.orig	Tue Jun  3 17:26:48 2003
+++ Makefile	Sat Jun 21 17:56:14 2003
@@ -22,12 +22,15 @@
 MAINTAINER=	coop9211 at uidaho.edu
 COMMENT=	Free Pascal beta compiler with Turbo, Delphi and other extensions
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 470000
 EXTRACT_DEPENDS= ${LOCALBASE}/bin/gtar:${PORTSDIR}/archivers/gtar
-RUN_DEPENDS=	${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm
-.if !defined(NOPORTDOCS)
-RUN_DEPENDS+=	${LOCALBASE}/bin/acroread4:${PORTSDIR}/print/acroread4
+TAR=		${LOCALBASE}/bin/gtar
 .endif
 
+RUN_DEPENDS=	${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm
+
 ONLY_FOR_ARCHS=	i386
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
@@ -40,11 +43,8 @@
 
 # programs
 SORT?=		/usr/bin/sort
-TAR=		${LOCALBASE}/bin/gtar
 # macro for creating directory with DATA perms
 INSTALL_DATA_DIR=	${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0755
-
-.include <bsd.port.pre.mk>
 
 LIBDIR=		${PREFIX}/lib/fpc/${PORTVERSION}
 DOCSDIR=	${PREFIX}/share/doc/fpc-${PORTVERSION}
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list