diff --git a/net/netatalk-asun/Makefile b/net/netatalk-asun/Makefile index 009d64c7c22d..41690143722a 100644 --- a/net/netatalk-asun/Makefile +++ b/net/netatalk-asun/Makefile @@ -22,6 +22,10 @@ LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper MAKE_ARGS= INSTALL="${INSTALL} ${COPY}" +.if defined(WITHOUT_AFPASP) +MAKE_ARGS+= CFLAGS="${CFLAGS} -DNO_AFPASP" +.endif + .include .if defined(WITH_SENDFILE) && ${OSVERSION} >= 310000