Subject: Re: if compiling KDE3 "rm: conftest: is a directory"
To: netbsd user <netbsd-users@netbsd.org>
From: None <sigsegv@rambler.ru>
List: netbsd-users
Date: 07/11/2004 01:08:45
sigsegv@rambler.ru wrote:

>
> Edit your /etc/mk.conf file, and put there something like:
>
>
> COPTS+=-pipe -march=athlon-tbird -m3dnow -mmmx
>
> #.ifdef BSD_PKG_MK
> CFLAGS+=-pipe -march=athlon-tbird -m3dnow -mmmx
> CXXFLAGS+=-pipe -march=athlon-tbird -m3dnow -mmmx
>
> MKCRYPTO_IDEA=YES
> MKCRYPTO_MDC2=YES
> MKCRYPTO_RC5=YES
> #MKMANZ=YES #make gets confused when building release??
> MKNLS=NO
> MKYP=NO
>
> OBJMACHINE=yes
> MKOBJDIRS=yes
> MOZILLA_USE_XFT=NO
> MKTTINTERP=YES
> #WINDOWMAKER_OPTIONS=lite #broken?
> PREFER_PKGSRC=no
> PREFER_NATIVE= MesaLib Xft2 Xrandr Xrender expat fontconfig freetype2 
> glu randrext randrext render xcursor yes
> DEPENDS_TARGET=package
> MASTER_SORT=.uk .de .fr .fi .se .no .dk

Oops, just noticed my mistake, #.ifdef needs #.endif
This is what is should be:

#.ifdef BSD_PKG_MK
CFLAGS+=-pipe -march=athlon-tbird -m3dnow -mmmx
CXXFLAGS+=-pipe -march=athlon-tbird -m3dnow -mmmx
#.endif