ports/74118: cad/qcad*: inapropriate installation paths

TAOKA Fumiyoshi fmysh at iijmio-mail.jp
Fri Nov 19 15:00:55 UTC 2004


>Number:         74118
>Category:       ports
>Synopsis:       cad/qcad*: inapropriate installation paths
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 19 15:00:54 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     TAOKA Fumiyoshi
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
>Description:
	ports/cad/qcad installs resource files into
	/usr/local/share/qcad.
	But it is not where QCad searches for by default.

	QCad searches ${CWD}/qcad/, /usr/share/qcad/,
	/usr/X11R6/qcad/, /usr/X11R6/share/qcad/ and
	${HOME}/.qcad/, which are hard coded.
	Look at RS_System::getDirectoryList() in
	qcadlib/src/engine/rs_system.cpp.

>How-To-Repeat:

	When one launches QCad first time, he sees Welcom dialog
	box to selecet GUI and Command languages. But it has
	no items at all. It should have the language lists from
	/usr/local/share/qcad/qm/.

	This also happens when selecting [Editi]-
	[Application preferences] menu.

	ln -s /usr/local/share/qcad /usr/X11R6/share/qcad makes
	the list items appear.

>Fix:

	Is it OK to move qcad* from LOCALBASE to X11BASE?

--- cad/qcad/Makefile.orig       Fri Nov 19 22:34:17 2004
+++ cad/qcad/Makefile    Fri Nov 19 22:39:43 2004
@@ -23,6 +23,7 @@

 QTDIR?=                ${X11BASE}

+USE_X_PREFIX=  yes
 USE_QT_VER=    3
 USE_REINPLACE= yes
 USE_GMAKE=     yes

--- cad/qcad-partslib/Makefile.orig       Fri Nov 19 23:18:06 2004
+++ cad/qcad-partslib/Makefile    Fri Nov 19 23:18:33 2004
@@ -19,6 +19,7 @@
 WRKSRC=                ${WRKDIR}/partlibrary-${PORTVERSION:S/.1$/-1/}
 DATADIR=       ${PREFIX}/share/qcad/libraries

+USE_X_PREFIX=  yes
 USE_ZIP=       yes
 USE_REINPLACE= yes
 NO_BUILD=      yes

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list