summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/openrdate/openrdate-1.2.ebuild')
-rw-r--r--net-misc/openrdate/openrdate-1.2.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-misc/openrdate/openrdate-1.2.ebuild b/net-misc/openrdate/openrdate-1.2.ebuild
index 0b5c9ffb..ce40e469 100644
--- a/net-misc/openrdate/openrdate-1.2.ebuild
+++ b/net-misc/openrdate/openrdate-1.2.ebuild
@@ -27,6 +27,11 @@ src_prepare() {
mv docs/{,open}rdate.8
}
+src_configure() {
+ export CFLAGS="${CFLAGS-} -D__NO_SYSCTL__"
+ default
+}
+
src_install(){
emake -j1 DESTDIR="${D}" install || die "make install failed"
newinitd "${FILESDIR}"/openrdate-initd openrdate