summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2015-03-14 21:03:48 +0000
committertnn <tnn@pkgsrc.org>2015-03-14 21:03:48 +0000
commit0aac5d4fa480af0d241078c7b207fd7ab5b4c10b (patch)
tree2a680b4c7671cd41013aef1ed871212561200fb5 /print
parentce49bbcd2cb19c2cbb4450869ac0ea0917a86d9f (diff)
downloadpkgsrc-0aac5d4fa480af0d241078c7b207fd7ab5b4c10b.tar.gz
fix iconv linkage
Diffstat (limited to 'print')
-rw-r--r--print/cups/Makefile4
-rw-r--r--print/cups15/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile
index e9a6dad3279..aa0deb89069 100644
--- a/print/cups/Makefile
+++ b/print/cups/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.216 2015/02/17 13:53:48 wiz Exp $
+# $NetBSD: Makefile,v 1.217 2015/03/14 21:07:37 tnn Exp $
#
# The CUPS author is very good about taking back changes into the main
# CUPS distribution. The correct place to send patches or bug-fixes is:
@@ -58,8 +58,8 @@ CONFIGURE_ENV+= DSOFLAGS=${LDFLAGS:M*:Q}
.if ${OPSYS} == "SunOS"
LIBS_SSP = -lssp_nonshared -lssp
CONFIGURE_ENV+= LIBS_SSP=${LIBS_SSP:M*:Q}
-LIBS.SunOS+= -liconv
.endif
+LIBS+= ${BUILDLINK_LDADD.iconv}
PLIST_VARS+= notmac
.if ${OPSYS} != "Darwin"
diff --git a/print/cups15/Makefile b/print/cups15/Makefile
index 5a1c6b6ea67..4c82070c10e 100644
--- a/print/cups15/Makefile
+++ b/print/cups15/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2014/10/09 14:06:51 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2015/03/14 21:03:48 tnn Exp $
#
# The CUPS author is very good about taking back changes into the main
# CUPS distribution. The correct place to send patches or bug-fixes is:
@@ -70,8 +70,8 @@ CONFIGURE_ENV+= DSOFLAGS=${LDFLAGS:M*:Q}
.if ${OPSYS} == "SunOS"
LIBS_SSP = -lssp_nonshared -lssp
CONFIGURE_ENV+= LIBS_SSP=${LIBS_SSP:M*:Q}
-LIBS.SunOS+= -liconv
.endif
+LIBS+= ${BUILDLINK_LDADD.iconv}
PLIST_VARS+= notmac
.if ${OPSYS} != "Darwin"