Subject: pkg/10465: recent changes to pkgsrc/mail/faces/patches/patch-ab broken
To: None <gnats-bugs@gnats.netbsd.org>
From: None <motoyuki@bsdclub.org>
List: netbsd-bugs
Date: 06/28/2000 00:28:11
>Number:         10465
>Category:       pkg
>Synopsis:       recent changes to pkgsrc/mail/faces/patches/patch-ab broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 28 00:29:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Motoyuki Konno
>Release:        NetBSD-current/i386
>Organization:
>Environment:
NetBSD asuka 1.5A NetBSD 1.5A (ASUKA $Revision: 1.17 $)

>Description:
Recent change of pkgsrc/mail/faces/patches/patch-ab
(rev 1.4 -> 1.5) is broken.  After this change, face images
are installed to under /usr/local/share/faces, but PLIST says
they should be installed under /usr/pkg/share/faces.
So, make install fails.
>How-To-Repeat:
cd pkgsrc/mail/faces
make
make install

>Fix:
--- ../old/patch-ab     Wed May 24 18:15:58 2000
+++ patch-ab    Wed Jun 28 16:24:12 2000
@@ -38,7 +38,7 @@
 +#  play audio files. Alternatively you can specify your own custom
 +#  command here. Uncomment the following line and set appropriately.
 +#
-+AUDIO_CMD         = -DAUDIO_CMD=\"/usr/local/bin/rplay\"
++AUDIO_CMD         = -DAUDIO_CMD=\"$(PREFIX)/bin/rplay\"
 +#========================================================================
 +#  Faces displays a background pattern in its' window. When the window
 +#  is not completely full, this gives the appearance of trying to blend
@@ -46,7 +46,7 @@
 +#  can specify the name of a file containing an alternate pattern to use.
 +#  Uncomment the next two lines and set appropriately.
 +#
-+#BACKNAME          = /usr/local/sample-background
++#BACKNAME          = ${PREFIX}/sample-background
 +#BACKGROUND        = -DBACKGROUND=\"$(BACKNAME)\"
 +#------------------------------------------------------------------------
 +#  Uncomment the following two lines to use the Domain Name Service to 
@@ -85,7 +85,7 @@
 +#  be uncommented and set appropriately. Note that the value must be
 +#  a single directory name, not a colon separated list of paths.
 +#               
-+FACEDIR           = /usr/local/share/faces
++FACEDIR           = $(PREFIX)/share/faces
 +CFACEDIR      = -DFACEDIR=\"$(FACEDIR)\"
 +#------------------------------------------------------------------------
 +#  It is possible to determine what type of monitoring faces does at

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