summaryrefslogtreecommitdiff
path: root/graphics/tgif/Makefile
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2011-01-30 01:53:41 +0000
committermarkd <markd@pkgsrc.org>2011-01-30 01:53:41 +0000
commitc9ef522c0a314de38da3367cab6e0d8a8ed21a68 (patch)
tree5d84983caddf04d0b68a847278f8840ed259c6cb /graphics/tgif/Makefile
parent0054b409c275fb1da2f88d12cd00035d50b25bdd (diff)
downloadpkgsrc-c9ef522c0a314de38da3367cab6e0d8a8ed21a68.tar.gz
Add dependency on libidn for linux as Tgif.tmpl-linux tries to link it.
Diffstat (limited to 'graphics/tgif/Makefile')
-rw-r--r--graphics/tgif/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/tgif/Makefile b/graphics/tgif/Makefile
index 093290c05e9..f6e88903df5 100644
--- a/graphics/tgif/Makefile
+++ b/graphics/tgif/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2010/12/23 11:44:46 dsainty Exp $
+# $NetBSD: Makefile,v 1.60 2011/01/30 01:53:41 markd Exp $
#
DISTNAME= tgif-4.2.2
@@ -28,6 +28,9 @@ post-patch::
@${RM} -f ${WRKSRC}/Tgif.tmpl
@${CP} ${OS_TEMPLATE} ${WRKSRC}/Tgif.tmpl
+.if ${OPSYS} == "Linux"
+.include "../../devel/libidn/buildlink3.mk"
+.endif
.include "../../mk/jpeg.buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"