Subject: Re: pkg/16755: xanalyser installs files in /usr/X11R6 with xpkgwedge
To: None <douglas@fang.demon.co.uk>
From: Rui-Xiang Guo <rxg@ms25.url.com.tw>
List: netbsd-bugs
Date: 05/11/2002 22:47:45
--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
> The error I get is:
>
> cp XAnalyser.ad /usr/X11R6/lib/X11/app-defaults/XAnalyser
> cp: /usr/X11R6/lib/X11/app-defaults/XAnalyser: Read-only file system
>
> (/usr/X11R6 is read-only partially to catch this sort of thing)
Hi, you may try these two steps to see if it can resolve your problem:
1. To replace patch-ad with attachment
2. To add this line into PLIST
@@ -1,3 +1,4 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/23 03:33:26 schmonz Exp $
bin/xanalyser
+lib/X11/app-defaults/XAnalyser
man/man1/xanalyser.1
Then type 'make makepatchsum && make install'
-rxg
--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ad
$NetBSD$
--- src/Makefile.in.orig Thu Jan 24 03:49:25 2002
+++ src/Makefile.in
@@ -73,7 +73,7 @@
xanalyser_SOURCES = Analyser.cc Analyser.h DSP.cc DSP.h Sample.cc Sample.h Scope.cc Scope.h XAnalyser.ad.h control.cc control.h fft.cc fft.h help.cc help.h help.txt.h main.cc main.h utils.cc utils.h Trans.h
-xanalyser_LDADD = -lXext -lXm -lXt -lSM -lICE -lXmu -lXpm -lX11 # -ldfftw -ldrfftw
+xanalyser_LDADD = -lXext -lXm -lXt -lSM -lICE -lXmu -lXpm -lX11 -lossaudio# -ldfftw -ldrfftw
EXTRA_DIST = XAnalyser.ad help.txt *.xpm
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -302,8 +302,8 @@
main.cc: XAnalyser.ad.h
-XAnalyser.ad.h: XAnalyser.ad
- ad2c XAnalyser.ad > XAnalyser.ad.h
+#XAnalyser.ad.h: XAnalyser.ad
+# ad2c XAnalyser.ad > XAnalyser.ad.h
help.cc: help.txt.h
@@ -311,8 +311,8 @@
txt2c help.txt > help.txt.h
install-data-hook:
- mkdir -p $(DESTDIR)/usr/X11R6/lib/X11/app-defaults
- cp XAnalyser.ad $(DESTDIR)/usr/X11R6/lib/X11/app-defaults/XAnalyser
+ mkdir -p $(DESTDIR)$(prefix)/lib/X11/app-defaults
+ cp XAnalyser.ad $(DESTDIR)$(prefix)/lib/X11/app-defaults/XAnalyser
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
--tKW2IUtsqtDRztdT--