Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 05:30:02 -0700 (PDT)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/30497: ftp.freesoftware.com no longer exists
Message-ID:  <200109131230.f8DCU2U68827@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/30497; it has been noted by GNATS.

From: Cyrille Lefevre <clefevre@citeweb.net>
To: freebsd-gnats-submit@FreeBSD.org, tg@FreeBSD.org
Cc:  
Subject: Re: ports/30497: ftp.freesoftware.com no longer exists
Date: Thu, 13 Sep 2001 14:29:28 +0200 (CEST)

 sorry again. but I made 2 mistakes in the games/xgammon port.
 the first one was the endfor loop, the second one is conflict
 between NO_WRKSUBDIR and WRKSRC !  now, it builts ok.
 
 I'm watching again about non tested ports (not so many). just
 in case, I'm watching other non-tested ports and I'll post
 corrections if any applies.
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/games/xgammon/Makefile,v
 retrieving revision 1.19
 diff -u -r1.19 Makefile
 --- Makefile	2001/03/20 20:27:59	1.19
 +++ Makefile	2001/09/13 12:01:38
 @@ -6,12 +6,12 @@
  #
  
  PORTNAME=	xgammon
 -PORTVERSION=	0.98
 +PORTVERSION=	0.98.15
  CATEGORIES=	games
 -MASTER_SITES=	ftp://ftp.redhat.com/pub/redhat/current/SRPMS/SRPMS/ \
 -		ftp://ftp.mpi-sb.mpg.de/pub/linux/mirror/ftp.redhat.com/redhat/current/SRPMS/SRPMS/ \
 -		ftp://sunsite.Informatik.RWTH-Aachen.DE/pub/comp/Linux/redhat/current/SRPMS/SRPMS/
 -EXTRACT_SUFX=	-15.src.rpm
 +MASTER_SITES=	${MASTER_SITE_REDHAT}
 +MASTER_SITE_SUBDIR=	linux/6.2/en/os/${MACHINE_ARCH}/SRPMS
 +DISTNAME=	${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
 +EXTRACT_SUFX=	.src.rpm
  
  PATCH_DIST_STRIP=	-p1
  
 @@ -23,18 +23,21 @@
  USE_IMAKE=	yes
  MAN6=		xgammon.6
  
 -PATCH_FILES=	${DISTNAME}-dirent.patch
 +RPM2CPIO?=	rpm2cpio
 +CPIO?=		cpio
  
 +PATCH_FILES=	${PORTNAME}-${PORTVERSION:R}-dirent.patch
 +
  do-extract:
  	@${RM} -rf ${WRKDIR}
  	@${MKDIR} ${WRKDIR}
 -	@rpm2cpio ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR}; cpio -i)
 -	@tar -xzf ${WRKDIR}/${DISTNAME}.tar.gz -C ${WRKDIR}
 +	@${RPM2CPIO} ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR}; ${CPIO} -i)
 +	@${TAR} -xzf ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}.tar.gz -C ${WRKDIR}
  
  pre-patch:
  	@${ECHO_MSG} "===>  Applying distribution patches for ${PKGNAME}"
 -	@for file in ${PATCH_FILES}; do \
 -		${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/$$file; \
 -	done
 +.for file in ${PATCH_FILES}
 +	@${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/${file}
 +.endfor
  
  .include <bsd.port.mk>
 Index: pkg-plist
 ===================================================================
 RCS file: /home/ncvs/ports/games/xgammon/pkg-plist,v
 retrieving revision 1.2
 diff -u -r1.2 pkg-plist
 --- pkg-plist	1998/09/28 02:18:44	1.2
 +++ pkg-plist	2001/09/13 00:40:00
 @@ -1,3 +1,4 @@
 +@comment $FreeBSD$
  bin/xgammon
  lib/X11/app-defaults/XGammon
  lib/X11/xgammon/xgammon.db
 
 Cyrille.
 -- 
 Cyrille Lefevre                 mailto:clefevre@citeweb.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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