summaryrefslogtreecommitdiff
path: root/graphics/fotoxx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fotoxx/Makefile')
-rw-r--r--graphics/fotoxx/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/fotoxx/Makefile b/graphics/fotoxx/Makefile
index 2e6005df555..17d285c00af 100644
--- a/graphics/fotoxx/Makefile
+++ b/graphics/fotoxx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2012/08/24 12:48:11 ryoon Exp $
+# $NetBSD: Makefile,v 1.25 2012/08/24 20:35:38 ryoon Exp $
#
DISTNAME= fotoxx-12.08
@@ -26,8 +26,10 @@ INSTALL_TARGET= install
.include "../../mk/bsd.prefs.mk"
.if exists(/usr/include/execinfo.h)
-CXXFLAGS+= -DHAVE_LIBEXECINFO
+CXXFLAGS+= -DHAVE_EXECINFO_H
+. if (${OPSYS} == "NetBSD")
LDFLAGS+= -lexecinfo
+. endif
.endif
.include "../../graphics/tiff/buildlink3.mk"