tech-pkg archive

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

Re: unzip and pkg/43723



Am 26.11.2010 um 10:41 schrieb Hauke Fath:

> All,
> 
> in an attempt to get unzip v6 to build on Darwin 8 I came across pkg/43723
> - it turns out that the missing -DNO_LCHMOD is required by more than one
> OS. Is there a more generic solution than adding a list of
> "CFLAGS.{youros}+=-DNO_LCHMOD" entries?

.if ${OPSYS} == "..." || ${OPSYS} == ....
CFLAGS+= ...
.endif

whether that's really better, I don't know...

BTW, I think it should be CPPFLAGS, not CFLAGS.

I just tried to build zip and unzip on MacOS 10.6.5 (aka Darwin 10.5): no 
problem. Maybe there is just an issue on some versions of MacOS X? So the fix 
should only apply for those.


-- 
Georg Schwarz  http://home.pages.de/~schwarz/
georg.schwarz%freenet.de@localhost +49 170 8768585







Home | Main Index | Thread Index | Old Index