mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
1a7693cfbf
For me, the most cringeworthy makefile technique is the shell command (!=) evaluating another port with "make -C". This is very slow, fragile, and can cause a huge mess if something is out of wack. The technique was used in this port and it didn't even work on all platforms. For sure FreeBSD 8 (according to portsmon) and DragonFly were broken. Essentially the file "gtk2_3_0_0_uni_gcc_3.4.pm" was installed, but the broken plist substitution was looking for "gtk2__uni_gcc_3.4.pm". To fix this robustly, get rid of the whole "make -C" mess and the plist substituion and just use the find command to dynamically add this one file to the plist. Since it starts with a unique pattern, we really don't need to know the Wx version in order to establish the plist with this technique. Approved by: blanket |
||
---|---|---|
.. | ||
files | ||
distinfo | ||
Makefile | ||
pkg-descr | ||
pkg-plist |