aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/vdk
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2009-01-06 04:34:01 +0800
committerwxs <wxs@FreeBSD.org>2009-01-06 04:34:01 +0800
commitfbbcbe4a59e1074c58bbdabf056cd9c13db27392 (patch)
treed5141eb17136dfb332b3f801711c6ae64ea522a8 /x11-toolkits/vdk
parent20764f1a2c7926e16cf5d7817e7906fa023ca0c5 (diff)
downloadfreebsd-ports-gnome-fbbcbe4a59e1074c58bbdabf056cd9c13db27392.tar.gz
freebsd-ports-gnome-fbbcbe4a59e1074c58bbdabf056cd9c13db27392.tar.zst
freebsd-ports-gnome-fbbcbe4a59e1074c58bbdabf056cd9c13db27392.zip
- Remove conditional checks for FreeBSD 5.x and older
Approved by: pav
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