Bug 214778

Summary: [CFD] ARCH substitution antipattern in various ports
Product: Ports & Packages Reporter: Mark Linimon <linimon>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: In Progress ---    
Severity: Affects Only Me CC: bsam, kevans, w.schwarzenfeld
Priority: --- Flags: bsam: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214776
Bug Depends on:    
Bug Blocks: 214776    
Description Flags
svn(1) diff of comms/java-simple-serial-connector kevans: maintainer-approval+

Description Mark Linimon freebsd_committer freebsd_triage 2016-11-23 11:49:37 UTC
PR 214776 about devel/arduino16 revealed an antipattern that has crept into the Ports Collection.  It is not noticeable if you are using packages, but if you are using 'make install', various uninstalled dependencies may fail.

comms/java-simple-serial-connector/Makefile:ARCH=               arm
devel/arduino-core/Makefile:ARCH=               x86_64
devel/arduino16/Makefile:ARCH=                  x86_64
devel/avr-gcc-devel/Makefile:ARCH=              x86_64
devel/avr-gcc/Makefile:ARCH=            x86_64
devel/dwarfdump/Makefile:ARCH=          x86_64
dns/samba-nsupdate/Makefile:ARCH=               x86_64
lang/swi-pl/Makefile:ARCH=              x86_64

Looking at the extracted files for devel/arduino16 did not reveal a quick fix.

Comments, anyone?
Comment 1 Kyle Evans freebsd_committer 2016-11-23 14:14:37 UTC
Created attachment 177334 [details]
svn(1) diff of comms/java-simple-serial-connector


Apologies, just noticed this PR. I've attached a total of two (2) patches for the devel/arduino* ports to PR 214776. Here's a patch for comms/java-simple-serial-connector to eliminate this bad behavior here.

I've assumed that PORTREVISION bumps are not necessary since the packages are the same, it's just fixing ill-behaved building behavior, but please do correct me if I'm wrong.


Kyle Evans
Comment 2 Boris Samorodov freebsd_committer 2016-12-10 20:22:21 UTC
The fix is committed, thanks!
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2016-12-10 22:38:16 UTC
There are still a few more ports to fix.
Comment 4 Walter Schwarzenfeld freebsd_triage 2018-01-12 10:54:47 UTC