aboutsummaryrefslogtreecommitdiff
path: root/x11/workrave/Makefile
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2008-03-28 01:50:20 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2008-03-28 01:50:20 +0000
commit01aa5d3c3738157ac5f482617e3d1ef1ec50bfba (patch)
tree93d68bc0bea20628e308298f854436e5a4c5f9d3 /x11/workrave/Makefile
parenta60ad9e9bbd10ef652ba6f2c3792c5926212d9ad (diff)
downloadports-01aa5d3c3738157ac5f482617e3d1ef1ec50bfba.tar.gz
ports-01aa5d3c3738157ac5f482617e3d1ef1ec50bfba.zip
Notes
Diffstat (limited to 'x11/workrave/Makefile')
-rw-r--r--x11/workrave/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/workrave/Makefile b/x11/workrave/Makefile
index 205ecb72b172..de799d989870 100644
--- a/x11/workrave/Makefile
+++ b/x11/workrave/Makefile
@@ -50,4 +50,15 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|#include <sigc++\/compatibility\.h>||g ; \
+ s|SigC::Signal|sigc::signal|g ; \
+ s|SigC::slot_class|sigc::mem_fun|g ; \
+ s|SigC::Connection|sigc::connection|g ; \
+ s|SigC::Slot|sigc::slot|g ; \
+ s|SigC::Object|sigc::trackable|g ; \
+ s|SigC::slot|sigc::mem_fun|g' \
+ ${WRKSRC}/frontend/gtkmm/src/*.* \
+ ${WRKSRC}/frontend/plugin/*/gtkmm/src/*.*
+
.include <bsd.port.post.mk>