Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 1998 20:33:13 +0700 (ICT)
From:      anto@netscape.net
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7988: 'distclean' makefile target fails on some ports
Message-ID:  <199809191333.UAA10504@anto.inet.co.th>

next in thread | raw e-mail | index | archive | help

>Number:         7988
>Category:       ports
>Synopsis:       'make distclean' broken on some ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 19 06:40:00 PDT 1998
>Last-Modified:
>Originator:     Anto Prijosoesilo
>Organization:
Internet Thailand Co., Ltd.
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

	FreeBSD DevNoc.inet.co.th 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0:
	Fri Sep 11 08:36:49 ICT 1998
	root@DevNoc.inet.co.th:/usr/src/sys-altq/compile/DEVALTQ  i386

>Description:

	'make distclean' is broken for the following ports:

	devel/crossm68k-devel
	japanese/handbook
	japanese/man-doc
	japanese/p5-jcode.pl
	lang/javac_netscape
	lang/modula-3
	net/cvsup-mirror
	textproc/docproj
	textproc/gxditview
	x11/kde

	This breaks 'make distclean' at the /usr/ports level and at the
	port-category level.

>How-To-Repeat:

	cd to the affected port's directory and do 'make distclean' or
	cd /usr/ports and do 'make distclean' there.

>Fix:
	
*** bsd.port.mk.orig    Sat Sep 19 17:54:20 1998
--- bsd.port.mk Sat Sep 19 17:56:34 1998
***************
*** 1596,1602 ****
  .if !target(distclean)
  distclean: pre-distclean clean
        @${ECHO_MSG} "===>  Dist cleaning for ${PKGNAME}"
!       @(if [ -d ${_DISTDIR} ]; then \
                cd ${_DISTDIR}; \
                ${RM} -f ${DISTFILES} ${PATCHFILES}; \
        fi)
--- 1596,1602 ----
  .if !target(distclean)
  distclean: pre-distclean clean
        @${ECHO_MSG} "===>  Dist cleaning for ${PKGNAME}"
!       @(if [ "X${DISTFILES}${PATCHFILES}" != "X" -a -d ${_DISTDIR} ]; then \
                cd ${_DISTDIR}; \
                ${RM} -f ${DISTFILES} ${PATCHFILES}; \
        fi)

	

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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