The latex2html port in $(PORTS)/textproc asume that perl is located in /usr/local/bin. head -n 1 `which latex2html` gives #!/usr/local/bin/perl which should be #!/usr/bin/perl on a new system with perl in the base system. I don't know the correct way to fix this. I guess that $(PERL) should be used somehow, but where?
State Changed From-To: open->closed Fixed, thanks!
When trying to run after a fresh install, I noted that there are more places this needs to be done in this port. Here is a diff (which _is_ cut-n-pasted): *** Makefile.orig Mon Jun 28 11:40:15 1999 --- Makefile Mon Jun 28 11:44:17 1999 *************** *** 27,32 **** --- 27,38 ---- post-patch: @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:' ${WRKSRC}/latex2html + @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:' ${WRKSRC}/configure-pstoimg + @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:' ${WRKSRC}/install-test + @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:' ${WRKSRC}/makemap + @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:' ${WRKSRC}/pstoimg + @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:' ${WRKSRC}/pstoimg_nopipes + @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:' ${WRKSRC}/texexpand do-install: @${MKDIR} ${PREFIX}/share/latex2html /Johan -- Johan Karlsson Phone : +46 (0)920 720 16 Systemteknik, Datalogi Fax : +46 (0)920 721 91 Luleå Tekniska Universitet E-mail: Johan.Karlsson@SM.LuTH.SE S-971 87 LULEÅ, SWEDEN