1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Fix build on <7.x

Reported by:	pointyhat via pav
This commit is contained in:
Andrew Pantyukhin 2007-09-08 01:58:01 +00:00
parent 4a2e8ee32b
commit 792caef5e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199072

View File

@ -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