summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-08-22 16:23:04 +0000
committermarino <marino@FreeBSD.org>2015-08-22 16:23:04 +0000
commit662ae51bab8e6bbe90bc5dfcdcb84304111c51e7 (patch)
treefe985680bc72220f4f6c61b64fd6f64c159dc225
parentecb07f0e6ff4e12c27dc0e459bb63af49b5b6d91 (diff)
downloadFreeBSD-ports-662ae51bab8e6bbe90bc5dfcdcb84304111c51e7.zip
FreeBSD-ports-662ae51bab8e6bbe90bc5dfcdcb84304111c51e7.tar.gz
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.
-rw-r--r--x11-toolkits/tktable/Makefile4
-rw-r--r--x11-toolkits/tktreectrl/Makefile4
2 files changed, 8 insertions, 0 deletions
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 <bsd.port.mk>
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 <bsd.port.mk>
OpenPOWER on IntegriCloud