summaryrefslogtreecommitdiff
path: root/x11/xclock
diff options
context:
space:
mode:
authortnn <tnn>2008-11-24 13:37:16 +0000
committertnn <tnn>2008-11-24 13:37:16 +0000
commit4e1128e20e14723c70fbb3985d5583a1f9e52bd1 (patch)
tree7ad2de9cb478881bcb77de74facfe26ec73a3423 /x11/xclock
parent46276cd557034164990388625507bbe1845a8e72 (diff)
downloadpkgsrc-4e1128e20e14723c70fbb3985d5583a1f9e52bd1.tar.gz
xclock(1) calls iconv_open(3), so it must be linked against -liconv on
platforms where iconv is not part of libc.
Diffstat (limited to 'x11/xclock')
-rw-r--r--x11/xclock/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/xclock/Makefile b/x11/xclock/Makefile
index b3ddc0db362..5b58b498b4d 100644
--- a/x11/xclock/Makefile
+++ b/x11/xclock/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2008/11/10 17:21:39 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2008/11/24 13:37:16 tnn Exp $
#
DISTNAME= xclock-1.0.3
@@ -17,6 +17,7 @@ GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
CONFIGURE_ENV+= APP_MAN_SUFFIX=1
+LDFLAGS+= ${BUILDLINK_LDADD.iconv}
.include "../../converters/libiconv/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"