summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-05 11:51:30 -0400
committerJune McEnroe <june@causal.agency>2020-04-05 11:51:30 -0400
commitb325846f8d12fc00275863c63a153064b0a2b4fd (patch)
tree09eeadee9917eb28aa09dc123e079a635c36155b
parentLog bans and unbans (diff)
downloadlitterbox-b325846f8d12fc00275863c63a153064b0a2b4fd.tar.gz
litterbox-b325846f8d12fc00275863c63a153064b0a2b4fd.zip
Only set RCS on FreeBSD
Diffstat (limited to '')
-rw-r--r--Makefile2
-rwxr-xr-xconfigure6
2 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ed2dbdd..c2aacd3 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ LDLIBS_litterbox = -ltls
 
 BINS = litterbox scoop unscoop
 MANS = ${BINS:=.1}
-RCS  = rc.d/litterbox
+RCS  =
 
 -include config.mk
 
diff --git a/configure b/configure
index 0b5f212..0cd0bf5 100755
--- a/configure
+++ b/configure
@@ -14,14 +14,12 @@ case "$(uname)" in
 		CFLAGS += -I${prefix}/include
 		CFLAGS += -D'SQLITE3_BIN="${prefix}/bin/sqlite3"'
 		LDFLAGS += -L${prefix}/lib
+		RCS = rc.d/litterbox
 		EOF
 		exit
 		;;
 	(Linux)
-		cat <<-EOF
-		CFLAGS += -D_GNU_SOURCE
-		RCS =
-		EOF
+		echo 'CFLAGS += -D_GNU_SOURCE'
 		;;
 esac