aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
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-wm
parenta60ad9e9bbd10ef652ba6f2c3792c5926212d9ad (diff)
downloadports-01aa5d3c3738157ac5f482617e3d1ef1ec50bfba.tar.gz
ports-01aa5d3c3738157ac5f482617e3d1ef1ec50bfba.zip
Fix the build with new libsigc++20 2.2.2. I have tested these ports in runtime
and these seem work fine in normal use. I don't test every functions, so let me know if you have any problem with it. Reported by: pointyhat via pav
Notes
Notes: svn path=/head/; revision=209987
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/gcompmgr/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-wm/gcompmgr/Makefile b/x11-wm/gcompmgr/Makefile
index 65dcd1c5bdb8..090d301f7370 100644
--- a/x11-wm/gcompmgr/Makefile
+++ b/x11-wm/gcompmgr/Makefile
@@ -28,11 +28,13 @@ DESKTOP_ENTRIES="gcompmgr" \
"Application;Settings;" \
true
-.include <bsd.port.pre.mk>
post-patch:
.for file in depcomp install-sh missing
@${LN} -sf ${AUTOMAKE_DIR}/${file} ${WRKSRC}
.endfor
+ @${REINPLACE_CMD} -e 's|connect(SigC::slot|connect(sigc::mem_fun|g ; \
+ s|#include <sigc++\/compatibility\.h>||g' \
+ ${WRKSRC}/src/*.cc
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>