aboutsummaryrefslogtreecommitdiff
path: root/net/netatalk-asun
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-04-17 00:19:02 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-04-17 00:19:02 +0000
commitb4455771cced2fe9f134e751fe88dbba7226e694 (patch)
tree39733bef5e1d466d30938b5a47f0b46a7b6890b4 /net/netatalk-asun
parent877b8a533b44bb6324ebbaf65cd80a60d1572003 (diff)
downloadports-b4455771cced2fe9f134e751fe88dbba7226e694.tar.gz
ports-b4455771cced2fe9f134e751fe88dbba7226e694.zip
Notes
Diffstat (limited to 'net/netatalk-asun')
-rw-r--r--net/netatalk-asun/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/netatalk-asun/Makefile b/net/netatalk-asun/Makefile
index a1aae501854e..d720db054881 100644
--- a/net/netatalk-asun/Makefile
+++ b/net/netatalk-asun/Makefile
@@ -22,11 +22,11 @@ MAKE_ARGS= INSTALL="${INSTALL} ${COPY}"
.include <bsd.port.pre.mk>
-.if defined(USE_SENDFILE) && ${OSVERSION} >= 310000
+.if defined(WITH_SENDFILE) && ${OSVERSION} >= 310000
MAKE_ARGS+= -DUSE_SENDFILE
.endif
-.if defined(USE_CNID)
+.if defined(WITH_CNID)
## Support for fixed DirIDs; probably broken.
BUILD_DEPENDS= ${PREFIX}/lib/libdb.a:${PORTSDIR}/databases/db
MAKE_ARGS+= -DUSE_CNID
@@ -35,16 +35,16 @@ MAKE_ARGS+= -DUSE_CNID
pre-build:
## sendfile(2) support seems to be broken in this version, but go ahead an try
## to fix it!
-.if defined(USE_SENDFILE) && ${OSVERSION} < 310000
+.if defined(WITH_SENDFILE) && ${OSVERSION} < 310000
@${ECHO_MSG} "*** sendfile(2) support is available only with FreeBSD 3.1-RELEASE"
@${ECHO_MSG} " or newer. This port probably won't compile."
.endif
.if ${OSVERSION} >= 310000
-.if defined(USE_SENDFILE)
+.if defined(WITH_SENDFILE)
@${ECHO_MSG} "*** sendfile(2) support is experimental and will likely cause"
@${ECHO_MSG} " undesired behaviour!"
.else
-# @${ECHO_MSG} "*** Use -DUSE_SENDFILE to enable the experimental sendfile(2) support."
+# @${ECHO_MSG} "*** Use -DWITH_SENDFILE to enable the experimental sendfile(2) support."
.endif
.endif