Subject: pkg/33951: make distclean from qmake makefile doesn't clean libtool objects
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Magnus Henoch <mange@freemail.hu>
List: pkgsrc-bugs
Date: 07/08/2006 23:00:00
>Number:         33951
>Category:       pkg
>Synopsis:       make distclean from qmake makefile doesn't clean libtool objects
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 08 23:00:00 +0000 2006
>Originator:     Magnus Henoch
>Release:        NetBSD 3.99.21
>Organization:
	
>Environment:
	
	
System: NetBSD zemdatav 3.99.21 NetBSD 3.99.21 (IBOOK) #4: Sat Jul 8 01:28:53 CEST 2006 magnus@zemdatav:/usr/src/sys/arch/macppc/compile/IBOOK macppc
Architecture: powerpc
Machine: macppc
>Description:
	The version of qt4-libs in pkgsrc uses libtool for linking
	(see QMAKE_LINK in pkgsrc/x11/qt4-libs/files/qmake.conf), but
	the Makefiles generated by qmake don't clean libtool objects
	in the distclean target.

	This is qt4-libs-4.1.2nb1.
>How-To-Repeat:
	The simplest possible Qt4 program:

hello.pro:
CONFIG += console
SOURCES += hello.cpp

hello.cpp:
#include <iostream>

int main()
{
  std::cout << "hello world\n" << std::endl;
  return 0;
}

Run:
/usr/pkg/qt4/bin/qmake
make
make distclean

The directory .libs and the files hello.lo and .libs/hello.o remain.
It would be nice if they were removed as well.

>Fix:
	

>Unformatted: