mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
7 lines
261 B
Bash
Executable file
7 lines
261 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# call the real flex
|
|
flex.real "$@"
|
|
|
|
# update the FlexLexer.h include that the above command must have created
|
|
find ${FREEBSD_WRKSRC} -name "*.cc" | xargs sed -i '' 's|#include <FlexLexer.h>|#include <${FREEBSD_LOCALBASE}/include/flex/FlexLexer.h>|'
|