Makefile fails in latest build of port for OO-2.0

Bartosz Fabianowski freebsd at chillt.de
Wed May 24 20:31:21 PDT 2006


Try the attached patch. If you still have the work directory, there is 
no need to recompile - just apply the patch and try "make install" again.

The problem is that icons and mimetypes go into directories that are 
created by misc/kdehier and should therefore only be installed if 
WITH_KDE is defined. This has been fixed by Maho in 
editors/openoffice.org-2.0-devel two weeks ago, but is still broken in 
editors/openoffice.org-2.0.

Regards,
- Bartosz
-------------- next part --------------
--- Makefile.orig	Thu May 25 05:26:46 2006
+++ Makefile	Thu May 25 05:27:03 2006
@@ -247,7 +247,6 @@
 	@ln -sf ${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg \
 			${PREFIX}/share/applnk/${EXECBASE}
 	@${PRINTF} "share/applnk/${EXECBASE}\n" >> ${TMPPLIST}
-.endif
 	@for dir in `ls ${ICONS}/hicolor | grep -v CVS`; do \
 		for app in base calc draw impress math printeradmin writer; do \
 			if [ -r ${ICONS}/hicolor/$${dir}/apps/$${app}.png ]; then \
@@ -262,6 +261,7 @@
 			${PRINTF} "share/icons/hicolor/$${dir}/mimetypes/$${file}\n" >> ${TMPPLIST} ; \
 		done ; \
 	done
+.endif
 	@cd ${PREFIX} ; ${FIND} -s bin -type f | ${GREP} ${EXECBASE} >> ${TMPPLIST}
 	@cd ${PREFIX} ; ${FIND} -s bin -type l | ${GREP} ${EXECBASE} >> ${TMPPLIST}
 	@cd ${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}


More information about the freebsd-openoffice mailing list