From 6574b853ceff5e674977e5a86d0a8e2abb3714b2 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sat, 5 Oct 2002 18:08:55 +0000 Subject: [PATCH] Really add optional timelord support. Somehow those diffs got lost on my previous commit. --- net/netatalk-devel/Makefile | 6 ++++++ net/netatalk-devel/pkg-plist | 1 + net/netatalk/Makefile | 6 ++++++ net/netatalk/pkg-plist | 1 + 4 files changed, 14 insertions(+) diff --git a/net/netatalk-devel/Makefile b/net/netatalk-devel/Makefile index 5a63eaa1822c..bcc70c78e3a4 100644 --- a/net/netatalk-devel/Makefile +++ b/net/netatalk-devel/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-devel/pkg-plist b/net/netatalk-devel/pkg-plist index faa5aa20cbf5..8b84a99137ca 100644 --- a/net/netatalk-devel/pkg-plist +++ b/net/netatalk-devel/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 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