Re: how to patch in port with NO_BUILD?

2019-02-24 Thread Walter Schwarzenfeld

Sorry, first post was wrong.

Place the new file (I guess tuning-primer.sh) in the ${FILESDIR}.

And change do-install to

${CP} ${FILESDIR}/${PORTNAME}.sh


___
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"


Re: how to patch in port with NO_BUILD?

2019-02-24 Thread Miroslav Lachman

Walter Schwarzenfeld wrote on 2019/02/24 16:02:
Make a patch that includes the whole changed file and change the 
do-install target.


In the meantime I came up with this
https://bz-attachments.freebsd.org/attachment.cgi?id=202298

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235968

Miroslav Lachman
___
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"


Re: how to patch in port with NO_BUILD?

2019-02-24 Thread Walter Schwarzenfeld
Make a patch that includes the whole changed file and change the 
do-install target.


___
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"


how to patch in port with NO_BUILD?

2019-02-23 Thread Miroslav Lachman
I know how to prepare a patch for ports which extract some source files 
and then install them. But is there any way to patch file in port which 
uses NO_BUILD and


do-install:
${INSTALL_SCRIPT} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.sh \
  ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

Is it namely databases/tuning-primer. I cannot find any doc how to apply 
patch in this case.


Kind regards
Miroslav Lachman
___
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"