ports/87214: Fix warning issued during make index
Vasil Dimov
vd at datamax.bg
Mon Oct 10 16:00:34 UTC 2005
>Number: 87214
>Category: ports
>Synopsis: Fix warning issued during make index
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 10 16:00:31 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Vasil Dimov
>Release: FreeBSD 6.0-RC1 amd64
>Organization:
DataMax
>Environment:
System: FreeBSD qlovarnika.bg.datamax 6.0-RC1 FreeBSD 6.0-RC1 #0: Mon Oct 10 17:41:04 EEST 2005 root at qlovarnika.bg.datamax:/usr/obj/usr/src/sys/QLOVARNIKA amd64
>Description:
games/atitd has redefined the `checksum' target, which causes warning in
make describe.
Btw I noted that this warning is not issued on the nearby PC with the
same version of FreeBSD:
FreeBSD zybyt.bg.datamax 6.0-RC1 FreeBSD 6.0-RC1 #0: Sun Sep 11 16:39:23 EEST 2005 root at zybyt.bg.datamax:/usr/obj/usr/src/sys/ZYBYT i386
Any suggestions?
>How-To-Repeat:
/usr/ports/games/atitd# make describe
"/usr/ports/Mk/bsd.port.mk", line 2890: warning: duplicate script for target "checksum" ignored
atitd-1.0_2|/usr/ports/games/atitd|/usr/local|The Linux "A Tale in the Desert" (ATITD) client|/usr/ports/games/atitd/pkg-descr|ports at FreeBSD.org|games graphics linux|||||/usr/ports/emulators/linux_base-8 /usr/ports/graphics/linux_dri /usr/ports/x11/xorg-clients|http://www.atitd.com/
/usr/ports/games/atitd#
>Fix:
--- bsd.port.mk.diff begins here ---
Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.517
diff -u -r1.517 bsd.port.mk
--- bsd.port.mk 15 Sep 2005 12:24:33 -0000 1.517
+++ bsd.port.mk 10 Oct 2005 15:34:25 -0000
@@ -2886,11 +2886,13 @@
.endif
.for target in check-sanity fetch checksum extract patch configure all build install reinstall package
+.if !target(${target})
${target}:
@${IGNORECMD}
.if defined(INSTALLS_DEPENDS)
@${FALSE}
.endif
+.endif
.endfor
.endif
--- bsd.port.mk.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list