summaryrefslogtreecommitdiff
path: root/net/netatalk
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-05 18:08:55 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-05 18:08:55 +0000
commit6574b853ceff5e674977e5a86d0a8e2abb3714b2 (patch)
treeef512e6a291d44952d7200e1048f9a2aacd7ea50 /net/netatalk
parentUpdate to 2.0.24 (diff)
Really add optional timelord support. Somehow those diffs got lost on
my previous commit.
Notes
Notes: svn path=/head/; revision=67364
Diffstat (limited to 'net/netatalk')
-rw-r--r--net/netatalk/Makefile6
-rw-r--r--net/netatalk/pkg-plist1
2 files changed, 7 insertions, 0 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile
index 5a63eaa1822c..bcc70c78e3a4 100644
--- a/net/netatalk/Makefile
+++ b/net/netatalk/Makefile
@@ -58,6 +58,12 @@ PLIST_SUB+= NETATALKCNID=""
CONFIGURE_ARGS+= --with-did=last
PLIST_SUB+= NETATALKCNID="@comment "
.endif
+.if defined (WITH_TIMELORD)
+CONFIGURE_ARGS+= --enable-timelord
+PLIST_SUB+= TIMELORD=""
+.else
+PLIST_SUB+= TIMELORD="@comment "
+.endif
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
USE_GMAKE= yes
diff --git a/net/netatalk/pkg-plist b/net/netatalk/pkg-plist
index faa5aa20cbf5..8b84a99137ca 100644
--- a/net/netatalk/pkg-plist
+++ b/net/netatalk/pkg-plist
@@ -65,6 +65,7 @@ sbin/tfwmpap
sbin/tfwmpaprev
sbin/tfwpap
sbin/tfwpaprev
+%%TIMELORD%%sbin/timelord
@unexec if cmp -s %D/etc/AppleVolumes.default %D/etc/AppleVolumes.default.dist; then rm -f %D/etc/AppleVolumes.default; fi
etc/AppleVolumes.default.dist
@exec [ ! -f %B/AppleVolumes.default ] && cp %B/%f %B/AppleVolumes.default