summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/slock/slock-1.4.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11-misc/slock/slock-1.4.ebuild b/x11-misc/slock/slock-1.4.ebuild
index 0fca667183cd..b6a698a98bc6 100644
--- a/x11-misc/slock/slock-1.4.ebuild
+++ b/x11-misc/slock/slock-1.4.ebuild
@@ -34,10 +34,13 @@ src_prepare() {
sed -i \
-e 's|@${CC}|$(CC)|g' \
Makefile || die
+
if use elibc_FreeBSD; then
sed -i -e 's/-DHAVE_SHADOW_H//' config.mk || die
fi
+
restore_config config.h
+
tc-export CC
}