1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/x11-toolkits/p5-Alien-wxWidgets
John Marino 1a7693cfbf x11-toolkits/p5-Alien-wxWidgets: Unbreak on some platforms
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
2014-04-27 18:55:29 +00:00
..
files Add forgotten patch 2014-04-08 12:22:24 +00:00
distinfo
Makefile x11-toolkits/p5-Alien-wxWidgets: Unbreak on some platforms 2014-04-27 18:55:29 +00:00
pkg-descr
pkg-plist x11-toolkits/p5-Alien-wxWidgets: Unbreak on some platforms 2014-04-27 18:55:29 +00:00