diff options
Diffstat (limited to 'graphics/libmng/files/Makefile.bsd')
-rw-r--r-- | graphics/libmng/files/Makefile.bsd | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/libmng/files/Makefile.bsd b/graphics/libmng/files/Makefile.bsd index a80ab5c57788..6c4dffcc3d75 100644 --- a/graphics/libmng/files/Makefile.bsd +++ b/graphics/libmng/files/Makefile.bsd @@ -7,7 +7,12 @@ SHLIB_MINOR?= 0 SRCS!= ${MAKE} -f ${.CURDIR}/makefiles/makefile.unix -V SOURCES -CFLAGS+= -I${INCDIR} -DMNG_FULL_CMS -DMNG_BUILD_SO +CFLAGS+= -I${INCDIR} +.if ${WITH_MNG_OPTIMIZE} == "true" +.for f in CHUNKINITFREE OBJCLEANUP CHUNKASSIGN CHUNKREADER +CFLAGS+= -DMNG_OPTIMIZE_$f +.endfor +.endif INCS= libmng.h libmng_conf.h libmng_types.h INCSDIR= ${LOCALBASE}/include |