From 662ae51bab8e6bbe90bc5dfcdcb84304111c51e7 Mon Sep 17 00:00:00 2001 From: marino Date: Sat, 22 Aug 2015 16:23:04 +0000 Subject: x11-toolkits/tk(table|treectrl): Fix configure to support DragonFly These patches to these unmaintained ports have been in dports for a few months so lets move them over to ports. --- x11-toolkits/tktable/Makefile | 4 ++++ x11-toolkits/tktreectrl/Makefile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/x11-toolkits/tktable/Makefile b/x11-toolkits/tktable/Makefile index d184abf..30b7943 100644 --- a/x11-toolkits/tktable/Makefile +++ b/x11-toolkits/tktable/Makefile @@ -37,4 +37,8 @@ test: build ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test) .endif +post-patch: + @${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/' \ + ${WRKSRC}/configure + .include diff --git a/x11-toolkits/tktreectrl/Makefile b/x11-toolkits/tktreectrl/Makefile index eae1313..c5814c2 100644 --- a/x11-toolkits/tktreectrl/Makefile +++ b/x11-toolkits/tktreectrl/Makefile @@ -20,4 +20,8 @@ TKPKG= treectrl${PORTVERSION} USE_LDCONFIG= ${PREFIX}/lib/${TKPKG} PLIST_SUB= TKPKG=${TKPKG} +post-patch: + @${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/' \ + ${WRKSRC}/configure + .include -- cgit v1.1