summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-08-31 12:24:33 +0200
committerJeroen Roovers <jer@gentoo.org>2017-08-31 12:24:33 +0200
commit1aec95dc619cea8fb634be4081dd63ca9d6f1752 (patch)
treed481b8db4c38f1950a463e2b63e0bf9587e8547a /x11-misc/slock
parentnet-irc/sic: Old. (diff)
downloadgentoo-1aec95dc619cea8fb634be4081dd63ca9d6f1752.tar.gz
gentoo-1aec95dc619cea8fb634be4081dd63ca9d6f1752.tar.bz2
gentoo-1aec95dc619cea8fb634be4081dd63ca9d6f1752.zip
x11-misc/slock: Whitespace.
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'x11-misc/slock')
-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
}