summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2008-03-27 06:39:18 +0000
committermezz <mezz@FreeBSD.org>2008-03-27 06:39:18 +0000
commitbe63b8a1381f073cd59cd855dc4cfc51ab6e1a87 (patch)
tree995cacc88a502dc21c37b597983e02dc530daa5c
parenteb048b83cbe5ab689f47f785f194e07b46662aa9 (diff)
downloadFreeBSD-ports-be63b8a1381f073cd59cd855dc4cfc51ab6e1a87.zip
FreeBSD-ports-be63b8a1381f073cd59cd855dc4cfc51ab6e1a87.tar.gz
Fix the build with new libsigc++20 2.2.2.
Reported by: pointyhat via pav
-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 ef7db33..5103a8d 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>
OpenPOWER on IntegriCloud