diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2011-11-15 09:38:40 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2011-11-15 09:38:40 +0000 |
commit | df659051835d67665051f00e8ca20c1c4c6f599d (patch) | |
tree | 33df81f3ff4e766c23e42d3a56b659b28584aace /graphics/darktable/Makefile | |
parent | d82beb68e52917551210a9b719987b8ca0b7e7b0 (diff) | |
download | ports-df659051835d67665051f00e8ca20c1c4c6f599d.tar.gz ports-df659051835d67665051f00e8ca20c1c4c6f599d.zip |
Notes
Diffstat (limited to 'graphics/darktable/Makefile')
-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 |