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
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list