ngptinit can't find ngptc
"Dr. Uwe Girlich" <[email protected]>
| Newsgroups | gmane.linux.ngpt.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello list! There is a minor problem with ngptinit. It contains only the call of ngptc but does not try to call it in $prefix but instead in /usr/bin. Only few will install NGPT with --prefix=/usr, so they have all the problem to manually change ngptinit. The attached patch corrects the problem in a totally dirty way: I change in the main make rules with "perl -pi" the file "in-place" and substitute /usr/bin/ to $bindir. It would be better use a new file ngptinit.in and generate ngptinit out of in a normal Makefile target rule. Bye, Uwe -- Dr. Uwe Girlich email: [email protected] Philosys Software GmbH www: www.philosys.de Edisonstrasse 6 phone: +49 89 321407-44 D-85716 Unterschleissheim fax: +49 89 321407-12
library-ngptinit.diff
(text/plain, 527 B)
diff -u -r --exclude='*.o' ngpt-2.0.1-orig/Makefile.in ngpt-2.0.1/Makefile.in --- ngpt-2.0.1-orig/Makefile.in Fri Jun 21 18:55:18 2002 +++ ngpt-2.0.1/Makefile.in Tue Sep 3 08:24:21 2002 @@ -156,9 +156,11 @@ # the default target all: all-normal all-normal: $(TARGET_ALL) + $(PERL) -e "s,/usr/bin/,$(bindir)/," -pi ngptinit @touch .done-all @$(MAKE) $(MFLAGS) what-next all-for-install: $(TARGET_ALL) + $(PERL) -e "s,/usr/bin/,$(bindir)/," -pi ngptinit @touch .done-all # build the private shared header file