Created attachment 175954 [details] svn(1) diff of devel/libastylej to fix typo and prepend PKGNAMEPREFIX to installed files Hello! Two things: * Fixes typo: ASTER_SITES => MASTER_SITES * Use PKGNAMEPREFIX to differentiate different libastylej's With this change, any slave ports (incoming devel/arduino-libastylej) then set PKGNAMEPREFIX= to differentiate and this properly prefixes the two installed .so's with PKGNAMEPREFIX that the slave ports' consumers (incoming devel/arduino16) may use.
Created attachment 175958 [details] Revised svn(1) diff of devel/libastylej to fix typo and make more friendly towards incoming slave port It was brought to my attention that not using the 'lib$x' format was poor form, so I've revised this to use lib${PKGNAMEPREFIX}astylej... form, instead. This does create a disconnect between the package name for the slave port (arduino-libastylej) and the library it installs (libarduino-astylej...), but I don't believe this is all too important, given that: 1.) This is Arduino-specific, and not useful in *any* other scenario. 2.) The devel/arduino-libastylej naming is still quite valid, given that it is the Arduino-tailored version of libastylej. Any other slave port use case would generally be just as peculiar, and likely is a non-issue.
Created attachment 175974 [details] Re-revised svn(1) diff of devel/libastylej Alright, for real this time. =p It came to my attention through running the proposed slave port through a poudriere test run that this port didn't actually fetch at all, even with my proposed changes, because of a wrong MASTER_SITES -- replace the ${PORTNAME} instances with astyle, because ... parent project.
A commit references this bug: Author: bsam Date: Fri Oct 21 22:29:37 UTC 2016 New revision: 424438 URL: https://svnweb.freebsd.org/changeset/ports/424438 Log: devel/libastylej: fix MASTER_SITES, prepare the port to be used as a master one. PR: 213631 (based on) Submitted by: Kyle Evans <bsdports@kyle-evans.net> Changes: head/devel/libastylej/Makefile
Committed, thanks! I've done some light changes, mainly PKGNAMEPREFIX->PKGNAMESUFFIX.