diff options
Diffstat (limited to 'graphics/fotoxx/Makefile')
-rw-r--r-- | graphics/fotoxx/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/fotoxx/Makefile b/graphics/fotoxx/Makefile index 22759fcd0e3..2e6005df555 100644 --- a/graphics/fotoxx/Makefile +++ b/graphics/fotoxx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2012/08/12 07:20:15 ryoon Exp $ +# $NetBSD: Makefile,v 1.24 2012/08/24 12:48:11 ryoon Exp $ # DISTNAME= fotoxx-12.08 @@ -25,8 +25,8 @@ INSTALL_TARGET= install .include "../../mk/bsd.prefs.mk" -.if (${OPSYS} == "NetBSD" && \ - (!empty(OS_VERSION:M6.99.*) || !empty(OS_VERSION:M[7-9].*))) +.if exists(/usr/include/execinfo.h) +CXXFLAGS+= -DHAVE_LIBEXECINFO LDFLAGS+= -lexecinfo .endif |