ports/63515: [PATCH] Update to xgammon Makefile

Stephen J. Roznowski sjr at comcast.net
Sat Feb 28 22:50:22 UTC 2004

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


	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.


--- Makefile.orig	Sat Feb 28 16:33:50 2004
+++ Makefile	Sat Feb 28 16:34:17 2004
@@ -17,7 +17,7 @@
 MAINTAINER=	tg at FreeBSD.org
 COMMENT=	A backgammon program for X11
-BUILD_DEPENDS=	rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
+EXTRACT_DEPENDS=	rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
@@ -28,7 +28,7 @@
 	@${RM} -rf ${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}


More information about the freebsd-ports-bugs mailing list