Bug 214778 - [CFD] ARCH substitution antipattern in various ports
Summary: [CFD] ARCH substitution antipattern in various ports
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks: 214776
  Show dependency treegraph
 
Reported: 2016-11-23 11:49 UTC by Mark Linimon
Modified: 2018-01-12 10:54 UTC (History)
3 users (show)

See Also:
bsam: maintainer-feedback+


Attachments
svn(1) diff of comms/java-simple-serial-connector (936 bytes, patch)
2016-11-23 14:14 UTC, Kyle Evans
kevans: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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

Hi,

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.

Thanks,

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
ping!