Hi,

first my uname:

-su-2.05b# uname -a
FreeBSD astarte.volker.de 4.7-STABLE FreeBSD 4.7-STABLE #0: Tue Oct 22
12:39:39 CEST 2002    
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


With the latest versions of the mozilla port (and mozilla-devel) I
encounter a problem while trying to "make install". The last lines say:

===>  Installing for mozilla-1.2b_1,1
===>   mozilla-1.2b_1,1 depends on shared library: jpeg.9 - found
===>   mozilla-1.2b_1,1 depends on shared library: png.5 - found
===>   mozilla-1.2b_1,1 depends on shared library: mng.1 - found
===>   mozilla-1.2b_1,1 depends on shared library: freetype.9 - found
===>   mozilla-1.2b_1,1 depends on shared library: Xft2.2 - found
===>   mozilla-1.2b_1,1 depends on shared library: X11.6 - found
===>   mozilla-1.2b_1,1 depends on shared library: glib12.3 - found
===>   mozilla-1.2b_1,1 depends on shared library: gtk12.2 - found
===>   mozilla-1.2b_1,1 depends on shared library: ORBit.2 - found
/usr/bin/touch -f /usr/ports/www/mozilla-devel/work/pkg-plist
if [ ! -x /usr/X11R6/bin/mozilla -a ! -L /usr/X11R6/bin/mozilla ]; then
Syntax error: end of file unexpected (expecting "fi")
*** Error code 2

Stop in /usr/ports/www/mozilla-devel.


IMO, the problem is the "preinstall" section of the Makefile:
pre-install:
        ${TOUCH} -f ${PLIST}
        if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ];
then
            ${ECHO_CMD} bin/mozilla >> ${PLIST}
        fi
        ${ECHO_CMD} bin/mozilla-devel >> ${PLIST}
        if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]
then
            ${ECHO_CMD} lib/browser_plugins/libjavaplugin_oji.so >>
${PLIST};
        fi
        cd ${WRKSRC}/dist/bin && ${FIND} -s * -type f -o -type l | \
                ${SED} -e 's:^:lib/mozilla-devel/:' >> ${PLIST} \
                && ${FIND} -d * -type d | \
                ${SED} -e 's:^:@dirrm lib/mozilla-devel/:' >> ${PLIST}
        ${ECHO_CMD} @dirrm lib/mozilla-devel >> ${PLIST}



Has anybody the same problem or perhaps a solution?

Thank you very much 

 -volker



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to