aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-09-08 09:58:01 +0800
committersat <sat@FreeBSD.org>2007-09-08 09:58:01 +0800
commit752166a2552317199cbb7b088817bf0d22300d4e (patch)
tree1de3a554baa96d7ecf7ed44f1efce1315c6fc2d7 /audio
parentd3dd0165c45edc5fabba53d54ffbf6610265f812 (diff)
downloadfreebsd-ports-gnome-752166a2552317199cbb7b088817bf0d22300d4e.tar.gz
freebsd-ports-gnome-752166a2552317199cbb7b088817bf0d22300d4e.tar.zst
freebsd-ports-gnome-752166a2552317199cbb7b088817bf0d22300d4e.zip
- Fix build on <7.x
Reported by: pointyhat via pav
Diffstat (limited to 'audio')
-rw-r--r--audio/cantus_3/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/cantus_3/Makefile b/audio/cantus_3/Makefile
index b15d490ec937..431f42d2f49b 100644
--- a/audio/cantus_3/Makefile
+++ b/audio/cantus_3/Makefile
@@ -33,9 +33,9 @@ CONFIGURE_ARGS= --program-transform-name="" --disable-static
WRKSRC= ${WRKDIR}/${DISTNAME:S/.src//}
post-patch:
- @${REINPLACE_CMD} -Ee 's|-ldld||g;s|-ldl||g;/ALL_LINGUAS=/s|=(.*)|="\1"|'\
- ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/source/cantus/Makefile.in
+ @${REINPLACE_CMD} -Ee 's|-ldld||g;s|-ldl||g;/ALL_LINGUAS=/s|=(.*)|="\1"|;\
+ /LIBS=/s|-lgthr|${PTHREAD_LIBS} &|' ${WRKSRC}/configure
+ @${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