Listing 2 /etc/mk.conf
# Local settings for <hostname>
# Only apply these variables when using pkgsrc. Required on NetBSD and
# OpenBSD, doesn't hurt on other systems.
.ifdef BSD_PKG_MK
# Where X11 is installed on the local system. If not specified, /usr/X11R6 is
# assumed.
#X11BASE= /some/where
# Add local CFLAGS, CPPFLAGS, LDFLAGS etc. for the given architecture
# Note that automatic dynamic library handling (-Wl,-R/path or
# -Wl,-rpath,/path) is performed automatically by each package.
CFLAGS= -O2 -mcpu=pentiumpro -march=pentium
CPPFLAGS= ${CFLAGS}
#LDFLAGS=
# Pull in global settings for all your systems.
.include "/usr/pkgsrc/local/mk/my.mk.conf"
.else
# On NetBSD or OpenBSD, other variables may go here.
.endif
|