Subject: pkg/17430: let audio/xamp be xpkgwedge compatible
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rxg@ms25.url.com.tw>
List: netbsd-bugs
Date: 06/29/2002 19:03:34
>Number: 17430
>Category: pkg
>Synopsis: let audio/xamp be xpkgwedge compatible
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Jun 29 04:11:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Rui-Xiang Guo
>Release: NetBSD 1.6_BETA1
>Organization:
>Environment:
System: NetBSD hive.u2online 1.6_BETA1 NetBSD 1.6_BETA1 (HIVE) #0: Sun Jun 9 09:10:00 CST 2002 rxg@hive.u2online:/usr/src/sys/arch/i386/compile/HIVE i386
Architecture: i386
Machine: i386
>Description:
If we install it with xpkgwedge, it will cause core dump and can't
find the skin data.
>How-To-Repeat:
1. fix the Makefile:
--- /usr/pkgsrc/audio/xamp/Makefile Sun Feb 25 12:17:37 2001
+++ Makefile
@@ -32,6 +32,13 @@
SKIN_DATA= bfamp.tar.gz chrome.tar.gz mmxamp.tar.gz
SKIN_DIR= ${PREFIX}/lib/X11/xamp
+post-patch:
+ for f in about.cpp aboutData.cpp readmex.h; do \
+ ${MV} ${WRKSRC}/$$f ${WRKSRC}/$$f.tmp; \
+ ${SED} -e 's:/usr/X11R6:'${PREFIX}':g' < ${WRKSRC}/$$f.tmp > \
+ ${WRKSRC}/$$f; \
+ done
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xamp ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xamp.1 ${PREFIX}/man/man1
2. install it with xpkgwedge for testing.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: