diff options
author | danfe <danfe@FreeBSD.org> | 2011-11-15 17:38:40 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2011-11-15 17:38:40 +0800 |
commit | e08a5308b94088b7c1b51e45b24d493ca4663332 (patch) | |
tree | 3951bfe8a0eca08d6519ad634903efa343367f61 /graphics/darktable | |
parent | 4d7efd12e28c3feda9d28f89b242ae112dec035a (diff) | |
download | freebsd-ports-gnome-e08a5308b94088b7c1b51e45b24d493ca4663332.tar.gz freebsd-ports-gnome-e08a5308b94088b7c1b51e45b24d493ca4663332.tar.zst freebsd-ports-gnome-e08a5308b94088b7c1b51e45b24d493ca4663332.zip |
Unbreak on FreeBSD 7.X which lacks dprintf().
Reported by: pavmail
Feature safe: yes
Diffstat (limited to 'graphics/darktable')
-rw-r--r-- | graphics/darktable/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile index 7d64633d5168..eb829d96cd83 100644 --- a/graphics/darktable/Makefile +++ b/graphics/darktable/Makefile @@ -100,6 +100,11 @@ CMAKE_ARGS+= -DUSE_NLS:BOOL=OFF .endif post-patch: +# FreeBSD 7.X does not have dprintf() +.if ${OSVERSION} < 800071 + @${REINPLACE_CMD} -e '80s,APPLE,${OPSYS}, ; /va_start/s,&,,' \ + ${WRKSRC}/src/common/darktable.c +.endif # Do not install useless (to end-user) documentation files @${REINPLACE_CMD} -e '/DOC_FILES/d' ${WRKSRC}/doc/CMakeLists.txt # Respect CFLAGS for release builds; remove `-g' from common CFLAGS which |