Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 2018 17:44:56 +0000
From:      Chris Rees <crees@bayofrum.net>
To:        freebsd-ports@freebsd.org, Larry Rosenman <ler@lerctr.org>, freebsd-ports@FreeBSD.org
Subject:   Re: WRKSRC/WRKSRC_SUBDIR/USE_GITHUB
Message-ID:  <16AF85EC-4AFA-4BC1-9394-30315E53744F@bayofrum.net>
In-Reply-To: <20180114172554.pqoztu6aswqal5rv@ler-imac.local>
References:  <20180114172554.pqoztu6aswqal5rv@ler-imac.local>

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


On 14 January 2018 17:25:54 GMT+00:00, Larry Rosenman <ler@lerctr.org> wrot=
e:
>Greetings,
>     I'm (finally) getting around to updating net/boinc-client, and=20
>when I changed it to use USE_GITHUB, I get the following warning:
>
>You are using USE_GITHUB and WRKSRC is set which is wrong.  Set
>GH_PROJECT
>correctly, set WRKSRC_SUBDIR or remove WRKSRC entirely.
>
>But if I don't set WRKSRC, the patches, etc don't work.=20=20
>
>Ideas?
>
>New Makefile:
># Created by: J.R. Oldroyd <fbsd@opal.com>
># $FreeBSD: head/net/boinc-client/Makefile 441503 2017-05-23 05:03:14Z
>rezny $
>
>PORTNAME=3D	boinc-client
>PORTVERSION=3D	7.8.6
>CATEGORIES=3D	net
>#MASTER_SITES=3D	LOCAL/rene
>
>MAINTAINER=3D	ler@FreeBSD.org
>COMMENT=3D	Berkeley Open Infrastructure for Network Computing client
>
>LICENSE=3D	LGPL3
>
>LIB_DEPENDS+=3D	libfreetype.so:print/freetype2
>
>USES=3D		autoreconf dos2unix gettext gmake libtool pkgconfig ssl tar:xz
>USE_XORG+=3D	x11 xscrnsaver
>INSTALL_TARGET=3D	install-strip
>GNU_CONFIGURE=3D	yes
>USE_GITHUB=3D	yes
>GH_ACCOUNT=3D	BOINC
>GH_PROJECT=3D	boinc
>GH_TAGNAME=3D	client_release/7.8/${PORTVERSION}
>USE_LDCONFIG=3D	yes
>DOS2UNIX_GLOB=3D	*.xpm
>WRKSRC=3D		${WRKDIR}
>WRKSRC_SUBDIR=3D	boinc-client_release-7.8-${PORTVERSION}
>

You can set PATCH_WRKSRC if that helps?  Is it just patching that breaks?

By the way, NO_WRKSUBDIR is what you should put instead of redefining WRKSR=
C.

Chris
--=20
Sent from my Android device with K-9 Mail. Please excuse my brevity.

--=20
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16AF85EC-4AFA-4BC1-9394-30315E53744F>