Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2006 05:31:14 +0200
From:      Bartosz Fabianowski <freebsd@chillt.de>
To:        Charles Schaum <verbo.solo@sbcglobal.net>
Cc:        openoffice@freebsd.org
Subject:   Re: Makefile fails in latest build of port for OO-2.0
Message-ID:  <44752502.8040101@chillt.de>
In-Reply-To: <20060525030435.12572.qmail@web82204.mail.mud.yahoo.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
--- 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}
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44752502.8040101>