summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-04-14 21:47:24 +0000
committerhans <hans@pkgsrc.org>2011-04-14 21:47:24 +0000
commit0b74af6987c2ce3b114203fe0d1731f29a90fee8 (patch)
tree5289aff8ee34cb6a00401582aa9f545e7227a577 /sysutils
parentf1b700b4f29801253529d7244f2b83b05305281f (diff)
downloadpkgsrc-0b74af6987c2ce3b114203fe0d1731f29a90fee8.tar.gz
Fix build on SunOS.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cdrdao/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/cdrdao/Makefile.common b/sysutils/cdrdao/Makefile.common
index ba97a401341..0c6f9ddd9c5 100644
--- a/sysutils/cdrdao/Makefile.common
+++ b/sysutils/cdrdao/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2009/11/22 21:05:17 drochner Exp $
+# $NetBSD: Makefile.common,v 1.9 2011/04/14 21:47:24 hans Exp $
DISTNAME= cdrdao-${CDRDAO_VER}
CATEGORIES= sysutils
@@ -24,6 +24,12 @@ CONFIGURE_ARGS+= --with-pcctsinc=${PREFIX}/include/pccts
CONFIGURE_ARGS+= --with-gtkmm-exec-prefix=/dev/null
# don't pick up an installed libcdda_paranoia
LDFLAGS+= -L../paranoia
+LDFLAGS.SunOS= -lvolmgt -lnsl
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ARGS+=--with-scglib
+.endif
# override ARCH to avoid picking up a bad ${ARCH} during the build
MAKE_ENV+= ARCH=""