Make a small change for the sed script. I'm still not sure why the

original script worked for me...

Submitted by:	steve
This commit is contained in:
Will Andrews 2001-07-07 04:05:37 +00:00
parent 84d78b8e48
commit c7525a3d86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44857

View File

@ -24,10 +24,11 @@ pre-configure:
find ${WRKSRC} -name Makefile.am | xargs ${PERL} -pi -e \
"s@-lqt@-lqt @g; s@ -lqt @ -lqt2@g"
${CP} ${WRKSRC}/konq-embed/src/konqueror ${WRKSRC}/konq-embed/src/konq-embedded
${CP} ${SUBST} ${SUBST}.bak && ${SED} -e \
's,^bindir = $$(prefix),bindir= ${PREFIX}/bin,g; \
s,bin_SCRIPTS = konqueror,bin_SCRIPTS= konq-embedded,g;
s,-lqt,-lqt ,g; s, -lqt , -lqt2@g' \
${CP} ${SUBST} ${SUBST}.bak && ${SED} \
-e 's,^bindir = $$(prefix),bindir= ${PREFIX}/bin,g' \
-e 's,bin_SCRIPTS = konqueror,bin_SCRIPTS= konq-embedded,g' \
-e 's,-lqt,-lqt ,g' \
-e 's, -lqt , -lqt2,g' \
${SUBST}.bak > ${SUBST}
.include <bsd.port.mk>