WRKSRC/WRKSRC_SUBDIR/USE_GITHUB
Chris Rees
crees at bayofrum.net
Sun Jan 14 18:10:07 UTC 2018
On 14 January 2018 17:25:54 GMT+00:00, Larry Rosenman <ler at lerctr.org> wrote:
>Greetings,
> I'm (finally) getting around to updating net/boinc-client, and
>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.
>
>Ideas?
>
>New Makefile:
># Created by: J.R. Oldroyd <fbsd at opal.com>
># $FreeBSD: head/net/boinc-client/Makefile 441503 2017-05-23 05:03:14Z
>rezny $
>
>PORTNAME= boinc-client
>PORTVERSION= 7.8.6
>CATEGORIES= net
>#MASTER_SITES= LOCAL/rene
>
>MAINTAINER= ler at FreeBSD.org
>COMMENT= Berkeley Open Infrastructure for Network Computing client
>
>LICENSE= LGPL3
>
>LIB_DEPENDS+= libfreetype.so:print/freetype2
>
>USES= autoreconf dos2unix gettext gmake libtool pkgconfig ssl tar:xz
>USE_XORG+= x11 xscrnsaver
>INSTALL_TARGET= install-strip
>GNU_CONFIGURE= yes
>USE_GITHUB= yes
>GH_ACCOUNT= BOINC
>GH_PROJECT= boinc
>GH_TAGNAME= client_release/7.8/${PORTVERSION}
>USE_LDCONFIG= yes
>DOS2UNIX_GLOB= *.xpm
>WRKSRC= ${WRKDIR}
>WRKSRC_SUBDIR= 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 WRKSRC.
Chris
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the freebsd-ports
mailing list