Is there a way to automatically edit port Makefile and plist after updates

2016-05-14 Thread Reko Turja via freebsd-ports
There is one port that has completely unneeded things in both Makefile 
and plist. Is there a way to Automatically change those afterwards - I 
guess usual method of patching isn't applicable?


Of course doing a portsnap fetch update and sedding the unneeded stuff 
out from a shellscript each night instead of just portsnap is always 
an option if there's nothing more refined available.


-Reko 


___
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: Is there a way to automatically edit port Makefile and plist after updates

2016-05-14 Thread Michael Gmelin


> On 14 May 2016, at 11:36, Reko Turja via freebsd-ports 
>  wrote:
> 
> There is one port that has completely unneeded things in both Makefile and 
> plist. Is there a way to Automatically change those afterwards - I guess 
> usual method of patching isn't applicable?
> 
> Of course doing a portsnap fetch update and sedding the unneeded stuff out 
> from a shellscript each night instead of just portsnap is always an option if 
> there's nothing more refined available.
> 

ports-mgmt/portshaker might be what you're looking for.

- Michael



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


math/R build failed

2016-05-14 Thread Grzegorz Junka

I got the following error:

[04:35:06] >> [04][00:00:03] Finished build of math/R: Ignored: 
"texlive" must not be defined in USE_TEX


It seems that USE_TEX is defined in bsd.tex.mk which is part of the port 
itself. Is this a bug or something wrong with my setup?



___
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: math/R build failed

2016-05-14 Thread Walter Schwarzenfeld

It seems right.

Makefile
USE_TEX=texlive dvipsk kpathsea pdftex

bsd.tex.mk# default TeX distribution.  "texlive"
TEX_DEFAULT?=   texlive

.if ${TEX_DEFAULT} != texlive
IGNORE= Only 'texlive' is supported as value for TEX_DEFAULT
.endif


texlive is default. And if you read bsd.tex.mk it is not under "The 
other valid keywords"

___
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: math/R build failed

2016-05-14 Thread Walter Schwarzenfeld

Compiled on my system (10.3-RELEASE Without problems.
You can try remove   n the lline   USE_TEX the keyword texlive.
___
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: math/R build failed

2016-05-14 Thread Walter Schwarzenfeld
Sorry, there was a misunderstood from me. In the moment I try it 
again.(fetching texlibe needs long time).

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


FreeBSD ports you maintain which are out of date

2016-05-14 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
ports appears to be out of date. Please take the opportunity to check
each of the ports listed below, and if possible and appropriate,
submit/commit an update. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
graphics/libraw | 0.17.1  | 0.17.2
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

Thanks.
___
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: math/R build failed

2016-05-14 Thread Grzegorz Junka
OK, thanks, please let me know if there is a fix needed in the ports or 
I can fix it somehow in my environment without touching the ports.


Grzegorz


On 14/05/2016 12:41, Walter Schwarzenfeld wrote:
Sorry, there was a misunderstood from me. In the moment I try it 
again.(fetching texlibe needs long time).

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


___
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: math/R build failed

2016-05-14 Thread Walter Schwarzenfeld

Ok,  I tried it again. Result:
INormal try failes in the same way.
If I delete texlive from the USE_TEX line it compiles fine. (Alternae 
Solution withPDF_MANUALS=off)


and
 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209500.
___
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: math/R build failed

2016-05-14 Thread Walter Schwarzenfeld

The link does not work, try it again
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209500
___
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: math/R build failed

2016-05-14 Thread Grzegorz Junka
All right, thanks, I missed that PDF_MANUALS requires tex. I will 
disable that option for now.



On 14/05/2016 14:04, Walter Schwarzenfeld wrote:

Ok,  I tried it again. Result:
INormal try failes in the same way.
If I delete texlive from the USE_TEX line it compiles fine. (Alternae 
Solution withPDF_MANUALS=off)


and
 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209500.
___
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"


___
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: Is there a way to automatically edit port Makefile and plist after updates

2016-05-14 Thread Chris H
On Sat, 14 May 2016 12:36:07 +0300 Reko Turja via freebsd-ports
 wrote

> There is one port that has completely unneeded things in both Makefile 
> and plist. Is there a way to Automatically change those afterwards - I 
> guess usual method of patching isn't applicable?
> 
> Of course doing a portsnap fetch update and sedding the unneeded stuff 
> out from a shellscript each night instead of just portsnap is always 
> an option if there's nothing more refined available.
If I'm following you correctly;
Wouldn't just filing a pr(1) (https://bugs.freebsd.org/bugzilla/)
against the port, with your proposed patch, do it?
It would then get those (proposed) changes into the ports tree
permanently, and neither you, nor anyone else would have to deal
with that overhead anymore. :)
> 
> -Reko 
> 
--Chris


___
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: Is there a way to automatically edit port Makefile and plist after updates

2016-05-14 Thread Reko Turja via freebsd-ports
-Original Message- 
From: Chris H


There is one port that has completely unneeded things in both 
Makefile and plist. Is there a way to Automatically change those 
afterwards - I guess usual method of patching isn't applicable?


Of course doing a portsnap fetch update and sedding the unneeded 
stuff out from a shellscript each night instead of just portsnap is 
always an option if there's nothing more refined available.

If I'm following you correctly;
Wouldn't just filing a pr(1) (https://bugs.freebsd.org/bugzilla/)
against the port, with your proposed patch, do it?

i don't think that even a patch would help at all, as the maintainer 
closed a PR already with "working as intended" reply. Just can't 
understand how having runtime module compiled and loaded for toy... - 
sorry - mysql is "as intended" for us running something else as the 
favoured datastore.


-Reko 


___
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: Is there a way to automatically edit port Makefile and plist after updates

2016-05-14 Thread Walter Schwarzenfeld

If I found the right PR:
I think it was  the one with php and mysqlnd.

.if ${.CURDIR:M*/ports/lang56}
CONFIGURE_ARGS+=--disable-mysqlnd
.endif

You have to cd in th e workdirectory and run ./configure --help to find 
the right CONFIGURE_ARGS.


___
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: Is there a way to automatically edit port Makefile and plist after updates

2016-05-14 Thread Walter Schwarzenfeld

forgot:

.if ${.CURDIR:M*/ports/lang56} and so on
is meant to put it in /ec/make.conf.


___
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: Is there a way to automatically edit port Makefile and plist after updates

2016-05-14 Thread Walter Schwarzenfeld

once more for clear, there are some typos
you can for example put in the makefile

.if ${.CURDIR:M*/ports/lang/php56}
CONFIGURE_ARGS+=--disable-mysqlnd
.endif
___
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: Is there a way to automatically edit port Makefile and plist after updates

2016-05-14 Thread Walter Schwarzenfeld

sorry not in the makefile, in /etc/make.conf.
___
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: Is there a way to automatically edit port Makefile and plist after updates

2016-05-14 Thread Walter Schwarzenfeld
But notice: It is on your own risk. Nobody can guarantee if it will work 
if you disableany CONFIGURE_ARGS.

You have to test it.
___
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"


Erlang port build fails on 11.0-CURRENT on Raspberry Pi 2

2016-05-14 Thread Hamza Sheikh
I tried building Erlang from ports on a Raspberry Pi 2 running FreeBSD 
11.0-CURRENT snapshot r298793:


freebsd@rpi2:~ % uname -a
FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r298793: Sat Apr 30 
06:39:54 UTC 2016 
r...@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI2  arm



freebsd@rpi2:~ % cat /etc/make.conf
WITH_PKGNG=yes
WRKDIRPREFIX=/tmp


freebsd@rpi2:~ % cat /etc/fstab
# Custom /etc/fstab for FreeBSD embedded images
/dev/ufs/rootfs   /   ufs rw  1   1
/dev/msdosfs/MSDOSBOOT /boot/msdos msdosfs rw,noatime 0 0
tmpfs /tmp tmpfs rw,mode=1777 0 0



Here's the error I got:

armv6-portbld-freebsd11.0/Makefile:672: recipe for target 
'obj/armv6-portbld-freebsd11.0/opt/smp/beam_emu.o' failed

gmake[4]: *** [obj/armv6-portbld-freebsd11.0/opt/smp/beam_emu.o] Error 254
gmake[4]: Leaving directory 
'/tmp/usr/ports/lang/erlang/work/otp_src_18.3/erts/emulator'
/tmp/usr/ports/lang/erlang/work/otp_src_18.3/make/run_make.mk:35: recipe 
for target 'opt' failed

gmake[3]: *** [opt] Error 2
gmake[3]: Leaving directory 
'/tmp/usr/ports/lang/erlang/work/otp_src_18.3/erts/emulator'

Makefile:61: recipe for target 'smp' failed
gmake[2]: *** [smp] Error 2
gmake[2]: Leaving directory 
'/tmp/usr/ports/lang/erlang/work/otp_src_18.3/erts'

Makefile:444: recipe for target 'emulator' failed
gmake[1]: *** [emulator] Error 2
gmake[1]: Leaving directory '/tmp/usr/ports/lang/erlang/work/otp_src_18.3'
*** Error code 1


Build log and beam_emu-d07ce.{c,sh} files are available from
http://mushtarka.codeghar.com/freebsd/2016/ports/lang/erlang/

--
Hamza Sheikh
Twitter: @aikchar
___
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: FreeBSD ports you maintain which are out of date

2016-05-14 Thread Greg 'groggy' Lehey
On Saturday, 14 May 2016 at 13:47:01 +, portsc...@freebsd.org wrote:
> Dear port maintainer,
>
> The portscout new distfile checker has detected that one or more of your
> ports appears to be out of date. Please take the opportunity to check
> each of the ports listed below, and if possible and appropriate,
> submit/commit an update. If any ports have already been updated, you can
> safely ignore the entry.
>
> You will not be e-mailed again for any of the port/version combinations
> below.
>
> Full details can be found at the following URL:
> http://portscout.freebsd.org/po...@freebsd.org.html
>
>
> Port| Current version | New 
> version
> +-+
> graphics/libraw | 0.17.1  | 0.17.2
> +-+

FWIW, I took a look at this.  The base port has been updated, but the
demosaic pack option hasn't.  The change log suggests that it's just
cosmetic, so it's probably not (yet) worth the trouble.

Greg
--
Sent from my desktop computer.
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA


signature.asc
Description: PGP signature


Re: Erlang port build fails on 11.0-CURRENT on Raspberry Pi 2

2016-05-14 Thread Walter Schwarzenfeld

If I am right, error 254 is a disk or swap error.
___
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"