aboutsummaryrefslogtreecommitdiffstats
path: root/net/netatalk-devel
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-06 02:08:55 +0800
committermarcus <marcus@FreeBSD.org>2002-10-06 02:08:55 +0800
commitcdbe1ffde45ada271b3efd78b76d630b95d7afc3 (patch)
treeddd0499ceebb900b09a0fd270b81d413de58824d /net/netatalk-devel
parentd1cbca118df554cb60b2c330856adbe1820ae3d6 (diff)
downloadfreebsd-ports-gnome-cdbe1ffde45ada271b3efd78b76d630b95d7afc3.tar.gz
freebsd-ports-gnome-cdbe1ffde45ada271b3efd78b76d630b95d7afc3.tar.zst
freebsd-ports-gnome-cdbe1ffde45ada271b3efd78b76d630b95d7afc3.zip
Really add optional timelord support. Somehow those diffs got lost on
my previous commit.
Diffstat (limited to 'net/netatalk-devel')
-rw-r--r--net/netatalk-devel/Makefile6
-rw-r--r--net/netatalk-devel/pkg-plist1
2 files changed, 7 insertions, 0 deletions
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