Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2004 17:40:15 -0500 (EST)
From:      "Stephen J. Roznowski" <sjr@comcast.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63515: [PATCH] Update to xgammon Makefile
Message-ID:  <200402282240.i1SMeFVk084406@istari.comcast.net>
Resent-Message-ID: <200402282250.i1SMoKni051199@freefall.freebsd.org>

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

>Number:         63515
>Category:       ports
>Synopsis:       [PATCH] Update to xgammon Makefile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 28 14:50:20 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Stephen J. Roznowski
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD istari.comcast.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Feb 28 08:00:23 EST 2004 sjr@istari.comcast.net:/usr/obj/usr/src/sys/ISTARI i386


	
>Description:

	The xgammon Makefile has two errors:

	1) portlint recommends that cpio be replaced by ${CPIO}

	2) If rpm2cpio isn't already installed, the port is unable
	   to build it, so that extraction of the source can occur.

	
>How-To-Repeat:
	
>Fix:

--- Makefile.orig	Sat Feb 28 16:33:50 2004
+++ Makefile	Sat Feb 28 16:34:17 2004
@@ -17,7 +17,7 @@
 MAINTAINER=	tg@FreeBSD.org
 COMMENT=	A backgammon program for X11
 
-BUILD_DEPENDS=	rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
+EXTRACT_DEPENDS=	rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
 
 NO_WRKSUBDIR=	yes
 USE_IMAKE=	yes
@@ -28,7 +28,7 @@
 do-extract:
 	@${RM} -rf ${WRKDIR}
 	@${MKDIR} ${WRKDIR}
-	@rpm2cpio.pl ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR}; cpio -i)
+	@rpm2cpio.pl ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR}; ${CPIO} -i)
 	@tar -xzf ${WRKDIR}/${DISTNAME}.tar.gz -C ${WRKDIR}
 
 pre-patch:


>Release-Note:
>Audit-Trail:
>Unformatted:



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