summaryrefslogtreecommitdiff
path: root/net/cacti-spine
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2016-09-18 21:48:46 +0000
committerwiedi <wiedi@pkgsrc.org>2016-09-18 21:48:46 +0000
commite5a9ca81e2250e3abd166a95782370503063cb89 (patch)
treea30951a0bb125e9f6141b84174e6ffc72df101bf /net/cacti-spine
parent59fe1dc81610a293d53be812c0b45586ff861534 (diff)
downloadpkgsrc-e5a9ca81e2250e3abd166a95782370503063cb89.tar.gz
linking -lm fixes SunOS
Diffstat (limited to 'net/cacti-spine')
-rw-r--r--net/cacti-spine/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/cacti-spine/Makefile b/net/cacti-spine/Makefile
index 382a447a714..2b2513738fc 100644
--- a/net/cacti-spine/Makefile
+++ b/net/cacti-spine/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2016/06/02 16:00:02 hauke Exp $
+# $NetBSD: Makefile,v 1.7 2016/09/18 21:48:46 wiedi Exp $
#
DISTNAME= cacti-spine-0.8.8h
@@ -33,6 +33,8 @@ SUBST_SED.paths= -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR:Q}|g'
INSTALL_MAKE_FLAGS+= configdir=${EGDIR}
+LDFLAGS.SunOS+= -lm
+
post-install:
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/${DOCDIR}