diff options
author | John C. Vernaleo <jcv@conformal.com> | 2014-07-01 16:09:52 -0400 |
---|---|---|
committer | John C. Vernaleo <jcv@conformal.com> | 2014-07-01 16:09:52 -0400 |
commit | 3f2826210b1128657d474926f52f5f097d706bf2 (patch) | |
tree | 0291f8af306103c3ac72f0c1115f736ac2c8fc56 /netbsd | |
parent | bf6ffda86a0ae6813f32e2b9e1084dd1c4761828 (diff) | |
download | xombrero-3f2826210b1128657d474926f52f5f097d706bf2.tar.gz |
Set DXT_DS_RESOURCE_DIR as RESDIR in Makefile.
This removes the hardcoded path for it on all platforms. Provided by Unit193 on irc (and initially suggested by @jrib on github).
Diffstat (limited to 'netbsd')
-rw-r--r-- | netbsd/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/netbsd/Makefile b/netbsd/Makefile index de7e892..f4d3253 100644 --- a/netbsd/Makefile +++ b/netbsd/Makefile @@ -1,5 +1,6 @@ PREFIX?=/usr/local BINDIR=${PREFIX}/bin +CFLAGS+=-DXT_DS_RESOURCE_DIR=\"$(PREFIX)/share/xombrero/\" PROG=xombrero MAN=xombrero.1 @@ -11,7 +12,7 @@ SRCS+= history.c completion.c tldlist.c externaleditor.c unix.c xombrero.c SRCS+= netbsd.c .PATH: ${.CURDIR}/.. -CFLAGS+= -O2 -Wall -Wno-format-extra-args -Wunused -Wextra -Wno-unused-parameter +CFLAGS+= -O2 -Wall -Wno-format-extra-args -Wunused -Wextra -Wno-unused-parameter CFLAGS+= -Wno-missing-field-initializers -Wno-sign-compare CFLAGS+= -Wno-deprecated-declarations -Wfloat-equal ${DEBUG} CFLAGS+= -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE |