On 14 January 2018 17:25:54 GMT+00:00, Larry Rosenman <l...@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 <f...@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=    l...@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.

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to