From 6574b853ceff5e674977e5a86d0a8e2abb3714b2 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sat, 5 Oct 2002 18:08:55 +0000 Subject: Really add optional timelord support. Somehow those diffs got lost on my previous commit. --- net/netatalk/Makefile | 6 ++++++ net/netatalk/pkg-plist | 1 + 2 files changed, 7 insertions(+) (limited to 'net/netatalk') 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 -- cgit v1.2.3