pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/mpv



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Jun 26 08:13:02 UTC 2023

Modified Files:
        pkgsrc/multimedia/mpv: Makefile

Log Message:
mpv: Fix compiler flags on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.152 -r1.153 pkgsrc/multimedia/mpv/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/mpv/Makefile
diff -u pkgsrc/multimedia/mpv/Makefile:1.152 pkgsrc/multimedia/mpv/Makefile:1.153
--- pkgsrc/multimedia/mpv/Makefile:1.152        Fri Jun  2 16:50:50 2023
+++ pkgsrc/multimedia/mpv/Makefile      Mon Jun 26 08:13:02 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.152 2023/06/02 16:50:50 wiz Exp $
+# $NetBSD: Makefile,v 1.153 2023/06/26 08:13:02 jperkin Exp $
 
 DISTNAME=      mpv-0.35.1
 PKGREVISION=   4
@@ -45,10 +45,12 @@ SUBST_FILES.python+=        wscript wscript_bui
 SUBST_STAGE.python=    pre-configure
 SUBST_MESSAGE.python=  Fix Python command names.
 
-.include "../../mk/bsd.prefs.mk"
+BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,-version-script rm:-Wl,mpv.def
+
+CFLAGS.SunOS+=         -D__EXTENSIONS__
+LDFLAGS.SunOS+=                -lsocket
 
-# strcasecmp, etc
-CFLAGS.SunOS+= -D__EXTENSIONS__
+.include "../../mk/bsd.prefs.mk"
 
 #
 # At some point this should be consolidated into mk/platform/Darwin.mk, it is



Home | Main Index | Thread Index | Old Index