summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-02-19 17:03:06 +0000
committerjperkin <jperkin@pkgsrc.org>2014-02-19 17:03:06 +0000
commit86b63dd009c68d59a1fed2fb083bfdb279e64fe0 (patch)
tree68e9c80f7d9cc1cb1c451b2fbd0530077691328a /devel
parentc2797e729cbf40c9772135e2d2b816bd6bf6f418 (diff)
downloadpkgsrc-86b63dd009c68d59a1fed2fb083bfdb279e64fe0.tar.gz
Linux needs -liconv. Remove duplicate definitions.
Diffstat (limited to 'devel')
-rw-r--r--devel/doxygen/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile
index e5fba13f90e..2bd12a9ba86 100644
--- a/devel/doxygen/Makefile
+++ b/devel/doxygen/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.108 2014/02/07 13:14:06 wiz Exp $
+# $NetBSD: Makefile,v 1.109 2014/02/19 17:03:06 jperkin Exp $
DISTNAME= doxygen-1.8.6.src
PKGNAME= ${DISTNAME:S/.src//}
@@ -29,9 +29,6 @@ CONFIGURE_ARGS+= --docdir ${PREFIX}/share/doc/doxygen
MAKE_ENV+= PKGSRC_CFLAGS=${CFLAGS:Q}
MAKE_FLAGS+= MAN1DIR=${PKGMANDIR}/man1
-LDFLAGS.FreeBSD= -liconv
-LDFLAGS.OpenBSD= -liconv
-
REPLACE_PERL= tmake/bin/tmake
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 1.8.6
@@ -76,8 +73,9 @@ PLIST.cs= yes # case-sensitive
CONFIGURE_ARGS+= -platform freebsd-g++
.endif
-LDFLAGS.FreeBSD+= ${BUILDLINK_LDADD.iconv}
-LDFLAGS.OpenBSD+= ${BUILDLINK_LDADD.iconv}
+.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "Linux"
+LDFLAGS+= ${BUILDLINK_LDADD.iconv}
+.endif
post-patch:
touch ${WRKSRC}/src/doxytag.l