cvs commit: ports/net/csup Makefile distinfo
Marcus Alves Grando
mnag at FreeBSD.org
Thu Jun 22 13:55:06 UTC 2006
Vasil Dimov wrote:
> On Wed, Jun 21, 2006 at 05:11:16PM +0000, Marcus Alves Grando wrote:
>> mnag 2006-06-21 17:11:16 UTC
>>
>> FreeBSD ports repository
>>
>> Modified files:
>> net/csup Makefile distinfo
>> Log:
>> - Update to 20060318
>> - Fix build in tinderbox using ${OSVERSION} instead .if exists()
>>
>> Approved by: mux
>>
>
> % portupgrade /var/db/pkg/csup-20060313_1/
> ** Port marked as IGNORE: net/csup:
> is already in the base system
> % which csup
> /usr/local/bin/csup
> % ls -l /usr/bin/csup
> ls: /usr/bin/csup: No such file or directory
> % sysctl kern.osreldate
> kern.osreldate: 601100
> %
>
There are two possibilities to fix:
1. Bump __FreeBSD_version in RELENG_6 to reflect csup MFC
or
2. Continue testing exists() and test PACKAGE_BUILDING too
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/csup/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile 21 Jun 2006 17:11:16 -0000 1.12
+++ Makefile 22 Jun 2006 13:41:16 -0000
@@ -24,7 +24,7 @@
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 700014 || ( ${OSVERSION} >= 601100 && ${OSVERSION} <
700000 )
+.if exists(/usr/bin/csup) && !defined(PACKAGE_BUILDING)
IGNORE= is already in the base system
.endif
I prefer first.
Regards
--
Marcus Alves Grando
marcus(at)corp.grupos.com.br | Grupos Internet S/A
mnag(at)FreeBSD.org | FreeBSD.org
More information about the cvs-ports
mailing list