summaryrefslogtreecommitdiffstats
path: root/pttbbs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'pttbbs.mk')
-rw-r--r--pttbbs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs.mk b/pttbbs.mk
index bf536cfe..0f039627 100644
--- a/pttbbs.mk
+++ b/pttbbs.mk
@@ -17,7 +17,7 @@ PTT_LDLIBS= -lhz
# enable assert()
#PTT_CFLAGS+= -DNDEBUG
-.if "$(OS)" == "FreeBSD"
+.if ${OSTYPE} == "FreeBSD"
# FreeBSD特有的環境
PTT_CFLAGS+= -I/usr/local/include
PTT_LDFLAGS+= -L/usr/local/lib