summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
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=""