summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--biology/plink/Makefile7
-rw-r--r--comms/openobex/Makefile4
-rw-r--r--multimedia/gst123/Makefile4
3 files changed, 12 insertions, 3 deletions
diff --git a/biology/plink/Makefile b/biology/plink/Makefile
index bb5d8db611c..0cd1670420b 100644
--- a/biology/plink/Makefile
+++ b/biology/plink/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2012/09/14 17:56:15 asau Exp $
+# $NetBSD: Makefile,v 1.3 2013/12/10 14:20:49 jperkin Exp $
DISTNAME= plink-1.07-src
PKGNAME= $(DISTNAME:-src=)
@@ -21,6 +21,11 @@ MAKE_FLAGS+= LIBDL=${DL_LIBS:Q}
LIB_LAPACK= -L${LOCALBASE}/lib ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib -llapack -lblas -lf2c
MAKE_FLAGS+= WITH_LAPACK=1 LIB_LAPACK=${LIB_LAPACK:Q}
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= LIB="-lsocket -lnsl"
+.endif
+
INSTALLATION_DIRS= bin
do-install:
diff --git a/comms/openobex/Makefile b/comms/openobex/Makefile
index a51fc68e38f..2d08785d260 100644
--- a/comms/openobex/Makefile
+++ b/comms/openobex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2013/03/21 06:53:36 sbd Exp $
+# $NetBSD: Makefile,v 1.24 2013/12/10 14:19:32 jperkin Exp $
#
DISTNAME= openobex-1.7-Source
@@ -18,6 +18,8 @@ USE_TOOLS+= cmake pkg-config
PKGCONFIG_OVERRIDE= openobex.pc.in
+LDFLAGS.SunOS+= -lsocket -lnsl
+
.include "../../mk/bsd.prefs.mk"
EGDIR= share/examples/openobex
diff --git a/multimedia/gst123/Makefile b/multimedia/gst123/Makefile
index 62475ef0e4e..7330c10c408 100644
--- a/multimedia/gst123/Makefile
+++ b/multimedia/gst123/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2013/10/10 14:42:25 ryoon Exp $
+# $NetBSD: Makefile,v 1.25 2013/12/10 14:18:05 jperkin Exp $
#
DISTNAME= gst123-0.3.3
@@ -19,6 +19,8 @@ USE_TOOLS+= pkg-config gmake
USE_NCURSES= yes
+LDFLAGS.SunOS+= -lsocket -lnsl
+
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"