Skip site navigation (1)Skip section navigation (2)
Date:      1 Apr 2011 14:31:53 +1100
From:      Callum Gibson <callum@omma.gibson.athome>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/156104: print/xdvi fails build due to bad imake target [patch]
Message-ID:  <20110401033153.79886.qmail@omma.gibson.athome>
Resent-Message-ID: <201104010540.p315e8HG078042@freefall.freebsd.org>

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

>Number:         156104
>Category:       ports
>Synopsis:       print/xdvi fails build due to bad imake target [patch]
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 01 05:40:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Callum Gibson
>Release:        FreeBSD 8.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD omma 8.1-STABLE FreeBSD 8.1-STABLE #13: Wed Sep 22 07:42:16 EST 2010 root@omma:/usr/local/obj/usr/src/sys/OMMA i386


	
>Description:
print/xdvi was marked as broken due to a duplicate distclean target which
made the install target fail with the following error:

===>  Checking if print/xdvi already installed
Makefile:1217: *** target file `distclean' has both : and :: entries.  Stop.

This can be corrected with the attached patch.

>How-To-Repeat:
Try to "make install" print/xdvi and note the error.

>Fix:

	

--- patch-Imakefile begins here ---
--- Imakefile.orig	2011-04-01 14:12:59.000000000 +1100
+++ Imakefile	2011-04-01 14:11:38.000000000 +1100
@@ -82,7 +82,7 @@
 mostlyclean:
 	$(RM) *.o xdvi xdvi.man core sedscript *~
 
-distclean: clean
+distclean:: clean
 	$(RM) Makefile.cfg
 
 veryclean: distclean
--- patch-Imakefile ends here ---


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



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