From e87ff32510963759f7e63b9735dcd1fd70a1a379 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Sat, 4 May 2024 01:16:01 +0900 Subject: [PATCH] =?utf8?q?NetBSD=E3=81=AF=E3=80=8C/usr/pkg=E3=80=8D?= =?utf8?q?=E2=86=92=E3=80=8C/usr/local=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + Makefile | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f53157..d82f884 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # 0.3.0 * CDNの回避 * Pixivからダウンロード出来る様に +* NetBSDは「/usr/pkg」→「/usr/local」 # 0.2.0 * ファイル名はパラメートルを付いたら、ファイル名は拡張子に diff --git a/Makefile b/Makefile index 3a1451f..ae80436 100644 --- a/Makefile +++ b/Makefile @@ -12,14 +12,12 @@ LDFLAGS=-L/usr/lib -L/usr/local/lib .if ${UNAME_S} == "FreeBSD" MANPREFIX=${PREFIX}/share/man -.elif ${UNAME_S} == "OpenBSD" .elif ${UNAME_S} == "Linux" PREFIX=/usr MANPREFIX=${PREFIX}/share/man .elif ${UNAME_S} == "NetBSD" -PREFIX=/usr/pkg -CFLAGS+= -I/usr/pkg/include -LDFLAGS+= -L/usr/pkg/lib +CFLAGS+=-I/usr/pkg/include +LDFLAGS+=-L/usr/pkg/lib MANPREFIX=${PREFIX}/share/man .endif -- 2.43.0