summaryrefslogtreecommitdiff
path: root/graphics/libfpx/files/Makefile.bsd
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2018-01-21 01:09:18 +0000
committerMikhail Teterin <mi@FreeBSD.org>2018-01-21 01:09:18 +0000
commitadfc6a946c36f60a595dc2efb83d8247c79f3c8f (patch)
treec9538385795dcc66ef4789a81673258694e78016 /graphics/libfpx/files/Makefile.bsd
parentUpdate security/pinentry* to 1.1.0 [1] (diff)
Upgrade from 1.3.1-4 to 1.3.1-10 (security fixes).
Resolve errors triggered on -current by the use of C++17 PR: 225299
Notes
Notes: svn path=/head/; revision=459561
Diffstat (limited to 'graphics/libfpx/files/Makefile.bsd')
-rw-r--r--graphics/libfpx/files/Makefile.bsd7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/libfpx/files/Makefile.bsd b/graphics/libfpx/files/Makefile.bsd
index 62483f7c88c9..7565642489e7 100644
--- a/graphics/libfpx/files/Makefile.bsd
+++ b/graphics/libfpx/files/Makefile.bsd
@@ -8,12 +8,11 @@ LIBDIR = ${PREFIX}/lib
INCSDIR = ${PREFIX}/include
INCDIR = ${INCSDIR} # for pre-bsd.incs.mk API
-NO_PROFILE= Don't want it
-NOPROFILE= ${NO_PROFILE}
+MK_PROFILE= no
HAVES= -DHAVE_WCHAR_H -DHAVE_DLFCN_H \
-DHAVE_SYS_TIME_H \
-DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H
-CFLAGS+= ${HAVES}
+CFLAGS+= ${HAVES} -Dregister=
CPPS != find ${.CURDIR} -name \*.cpp -print
# Some of the .cxx files are #include-ed into others, so can't use `find' here:
@@ -23,7 +22,7 @@ OLESS := ascii.cxx cdocfile.cxx chinst.cxx dffuncs.cxx dfiter.cxx \
iter.cxx mem.cxx msf.cxx msfiter.cxx mstream.cxx page.cxx \
refilb.cxx rexpdf.cxx sstream.cxx storage.cxx time.cxx \
vect.cxx wchar.c
-JPGS != find ${.CURDIR}/jpeg -name \*.c
+JPGS != find ${.CURDIR}/jpeg -name \*.c -not -name dllmain.c
CPPS += ${OLESS:S/^/${.CURDIR}\/oless\//} ${JPGS}