aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cantus_3
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2008-03-27 14:39:18 +0800
committermezz <mezz@FreeBSD.org>2008-03-27 14:39:18 +0800
commitbe63b8a1381f073cd59cd855dc4cfc51ab6e1a87 (patch)
tree995cacc88a502dc21c37b597983e02dc530daa5c /audio/cantus_3
parenteb048b83cbe5ab689f47f785f194e07b46662aa9 (diff)
downloadfreebsd-ports-gnome-be63b8a1381f073cd59cd855dc4cfc51ab6e1a87.tar.gz
freebsd-ports-gnome-be63b8a1381f073cd59cd855dc4cfc51ab6e1a87.tar.zst
freebsd-ports-gnome-be63b8a1381f073cd59cd855dc4cfc51ab6e1a87.zip
Fix the build with new libsigc++20 2.2.2.
Reported by: pointyhat via pav
Diffstat (limited to 'audio/cantus_3')
-rw-r--r--audio/cantus_3/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/cantus_3/Makefile b/audio/cantus_3/Makefile
index ef7db33aa190..5103a8d7511f 100644
--- a/audio/cantus_3/Makefile
+++ b/audio/cantus_3/Makefile
@@ -39,6 +39,10 @@ post-patch:
@${REINPLACE_CMD} -e 's|-ldl||;s|-lrt||' ${WRKSRC}/source/cantus/Makefile.in
@${REINPLACE_CMD} -e 's|PACKAGE_LIB_DIR "cantus-3.glade"|PACKAGE_DATA_DIR "/cantus/glade/cantus.glade"|'\
${WRKSRC}/source/cantus/gui_controller.cc
+ @${FIND} ${WRKSRC} -name "*.h" -o -name "*.cc" | ${XARGS} \
+ ${REINPLACE_CMD} -e 's|SigC::Slot3|sigc::slot3|g ; \
+ s|SigC::Signal|sigc::signal|g ; \
+ s|SigC::Object|sigc::trackable|g'
.include <bsd.port.pre.mk>