Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2006 14:21:32 GMT
From:      Dominic Fandrey <lon_kamikaze@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/101175: [patch print/cups-base] installs broken symlinks into PREFIX/man/man8
Message-ID:  <200608011421.k71ELW0x032072@www.freebsd.org>
Resent-Message-ID: <200608011430.k71EUMsJ013980@freefall.freebsd.org>

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

>Number:         101175
>Category:       ports
>Synopsis:       [patch print/cups-base] installs broken symlinks into PREFIX/man/man8
>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:   Tue Aug 01 14:30:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Fandrey
>Release:        Releng_6
>Organization:
private
>Environment:
FreeBSD mobileKamikaze.norad 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Jul 19 14:54:04 CEST 2006     root@mobileKamikaze.norad:/mnt/vault/obj/mnt/vault/src/sys/TPR40-6  i386
>Description:
The port print/cups-base doesn't handle symlinked man pages properly.
This patch fixes Makefile and PLIST according to the Porter's Handbook.
>How-To-Repeat:
Install print/cups-base and run

# makewhatis PREFIX/man

to see the broken links.
>Fix:
diff -ru print/cups-base.orig/Makefile print/cups-base/Makefile
--- print/cups-base.orig/Makefile	Tue Aug  1 16:04:46 2006
+++ print/cups-base/Makefile	Tue Aug  1 16:18:50 2006
@@ -127,7 +127,9 @@
 	lpadmin.$(MAN8EXT) \
 	lpinfo.$(MAN8EXT) \
 	lpmove.$(MAN8EXT) \
-	lpc.$(MAN8EXT) \
+	lpc.$(MAN8EXT)
+MLINKS=	cupsenable.$(MAN8EXT) cupsdisable.$(MAN8EXT) \
+	accept.$(MAN8EXT) reject.$(MAN8EXT)
 
 pre-configure::
 	@${ECHO_MSG} Configuring CUPS with options:
diff -ru print/cups-base.orig/pkg-plist print/cups-base/pkg-plist
--- print/cups-base.orig/pkg-plist	Tue Aug  1 16:04:46 2006
+++ print/cups-base/pkg-plist	Tue Aug  1 16:06:36 2006
@@ -44,8 +44,6 @@
 lib/libcupsimage.so
 lib/libcupsimage.so.2
 @comment Put man links here
-man/man8/reject.8
-man/man8/cupsdisable.8
 sbin/cupsdisable
 sbin/cupsenable
 sbin/reject
>Release-Note:
>Audit-Trail:
>Unformatted:



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