ports/154993: [PATCH] www/moodle2: installation failed with mimetex installed
Hiroto Kagotani
hiroto.kagotani at gmail.com
Thu Feb 24 08:00:16 UTC 2011
>Number: 154993
>Category: ports
>Synopsis: [PATCH] www/moodle2: installation failed with mimetex installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 24 08:00:15 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Hiroto Kagotani
>Release: FreeBSD 8.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD myhost.mydomain 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010
>Description:
After manually installed www/mimetex, installation of www/moodle2 failed
because it did not recognize that mimetex had been already installed.
Port maintainer (wen at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
Install www/mimetex, and then install www/moodle2 with default options.
>Fix:
--- moodle-2.0.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/moodle2.orig/Makefile /usr/ports/www/moodle2/Makefile
--- /usr/ports/www/moodle2.orig/Makefile 2011-02-23 10:51:46.000000000 +0900
+++ /usr/ports/www/moodle2/Makefile 2011-02-24 16:16:04.000000000 +0900
@@ -52,7 +52,7 @@
.endif
.if !defined(WITHOUT_MIMETEX)
-RUN_DEPENDS+= ${LOCALBASE}/www/cgi-bin/mimetex.cgi:${PORTSDIR}/www/mimetex
+RUN_DEPENDS+= ${LOCALBASE}/www/mimetex/cgi-bin/mimetex.cgi:${PORTSDIR}/www/mimetex
.endif
NO_BUILD= yes
@@ -84,7 +84,7 @@
${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR}
@${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR}' >> ${TMPPLIST}
.if !defined(WITHOUT_MIMETEX)
- ${LN} -sf ${PREFIX}/www/cgi-bin/mimetex.cgi ${PREFIX}/${MOODLEDIR}/filter/tex/mimetex.freebsd
+ ${LN} -sf ${PREFIX}/www/mimetex/cgi-bin/mimetex.cgi ${PREFIX}/${MOODLEDIR}/filter/tex/mimetex.freebsd
.endif
post-install:
--- moodle-2.0.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list