pkgsrc-Bugs archive

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

Re: pkg/49672: Patch for devel/patch no Mac OS X (with fix)



The following reply was made to PR pkg/49672; it has been noted by GNATS.

From: Tobias Nygren <tnn%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: youri.mout%gmail.com@localhost
Subject: Re: pkg/49672: Patch for devel/patch no Mac OS X (with fix)
Date: Wed, 18 Feb 2015 08:55:09 +0100

 Hi!
 
 Can you please test if it works to do this instead?
 (Patch-by-awk hurts my eyes >_<)
 
 Thanks,
 -Tobias
 =======================
 
 do-patch:
 .for stdhdr in sys/param.h sys/stat.h string.h
 	echo "#ifdef HAVE_${stdhdr:tu:C,[/.],_,g}" >> ${WRKSRC}/config.hin
 	echo "#include <${stdhdr}>" >> ${WRKSRC}/config.hin
 	echo "#endif" >> ${WRKSRC}/config.hin
 .endfor
 


Home | Main Index | Thread Index | Old Index