[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Typo in PORTING



Hi list,

I didn't know against what package to reportbug(1) this, so I'm trying
this list. Feel free to direct me to the right place if I'm awfully
wrong here.

In the "Add our system name to checks here and there" section of
    <http://glibc-bsd.alioth.debian.org/porting/PORTING>

the following is probably meant:


--- PORTING.old	2008-05-13 09:28:55.000000000 +0200
+++ PORTING	2008-05-13 09:28:24.000000000 +0200
@@ -35,7 +35,7 @@
 Example of uname check:		Linux|GNU|GNU/*)
 Example of C macro check:	defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
 				[note: GNU/Hurd defines __GNU__, and GNU/k*BSD define __GLIBC__ as hardcoded macro]
-Example of makefile check:	ifneq (, $(filter Linux GNU GNU_%, $(shell uname -s)))
+Example of makefile check:	ifneq (, $(filter Linux GNU GNU/%, $(shell uname -s)))
 				[note1: findstring matches subwords, use filter instead]
 				[note2: list must be the first parameter, otherwise matching fails]
 				[note3: "%" is make's wildcard]


Regards, Frank

-- 
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
                                                  -- RFC 1925


Reply to: