Tweak multimedia/libbdplus version 0.1.2_1
[dports.git] / multimedia / libbdplus / Makefile.DragonFly
1
2 CFLAGS+=        -Wno-deprecated-declarations
3
4 # expose gettimeofday() and rename index name conflict
5 dfly-patch:
6         ${REINPLACE_CMD} -e 's@-D_POSIX_C_SOURCE@&__z@g' \
7                          -e 's@-D_ISOC99_SOURCE@&__z@g' \
8                 ${WRKSRC}/configure ${WRKSRC}/configure.ac
9         ${REINPLACE_CMD} -e 's@[[:<:]]index[[:>:]]@dump_index@g' \
10                 ${WRKSRC}/src/examples/convtab_dump.c