aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/vdk
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2009-01-05 20:34:01 +0000
committerWesley Shields <wxs@FreeBSD.org>2009-01-05 20:34:01 +0000
commit5e3b0872db18497aacc353b3ef94ad8dac11183f (patch)
treec51a5ceacda7e98a368cf660966d874442f53877 /x11-toolkits/vdk
parentf216d10840c97e4b39105cd95d6e45da48922199 (diff)
downloadports-5e3b0872db18497aacc353b3ef94ad8dac11183f.tar.gz
ports-5e3b0872db18497aacc353b3ef94ad8dac11183f.zip
Notes
Diffstat (limited to 'x11-toolkits/vdk')
-rw-r--r--x11-toolkits/vdk/Makefile8
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