diff options
Diffstat (limited to 'x11-toolkits/vdk')
-rw-r--r-- | x11-toolkits/vdk/Makefile | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/x11-toolkits/vdk/Makefile b/x11-toolkits/vdk/Makefile index bb827a14f545..1acd234a23ab 100644 --- a/x11-toolkits/vdk/Makefile +++ b/x11-toolkits/vdk/Makefile @@ -29,12 +29,6 @@ LDFLAGS= -L${LOCALBASE}/lib -lgnuregex ${PTHREAD_LIBS} .include <bsd.port.pre.mk> -.if ${OSVERSION} > 502010 -GNU_REGEX_H= gnu/regex.h -.else -GNU_REGEX_H= gnuregex.h -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|CXXFLAGS="-s"|CXXFLAGS="$$CXXFLAGS"|g' ${WRKSRC}/configure @@ -42,7 +36,7 @@ post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${LDFLAGS}|g' ${WRKSRC}/${file} .endfor .for file in vdk/FileDialog.h vdk/gtksourcebuffer.h vdk/gtksourcetag.h - @${REINPLACE_CMD} -e 's|<regex\.h>|<${GNU_REGEX_H}>|g' ${WRKSRC}/${file} + @${REINPLACE_CMD} -e 's|<regex\.h>|<gnu/regex.h>|g' ${WRKSRC}/${file} .endfor @${REINPLACE_CMD} -e \ 's|VDKComboEntry::||g' ${WRKSRC}/vdk/vdkcomboentry.h |