pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/mpg123



Module Name:    pkgsrc
Committed By:   wiedi
Date:           Fri Dec 23 13:50:03 UTC 2016

Modified Files:
        pkgsrc/audio/mpg123: Makefile.common

Log Message:
use c99 to fix build on SunOS


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/audio/mpg123/Makefile.common

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

Modified files:

Index: pkgsrc/audio/mpg123/Makefile.common
diff -u pkgsrc/audio/mpg123/Makefile.common:1.41 pkgsrc/audio/mpg123/Makefile.common:1.42
--- pkgsrc/audio/mpg123/Makefile.common:1.41    Sun Dec 18 22:58:34 2016
+++ pkgsrc/audio/mpg123/Makefile.common Fri Dec 23 13:50:03 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.41 2016/12/18 22:58:34 adam Exp $
+# $NetBSD: Makefile.common,v 1.42 2016/12/23 13:50:03 wiedi Exp $
 #
 # used by audio/mpg123-arts/Makefile
 # used by audio/mpg123-esound/Makefile
@@ -18,6 +18,7 @@ MAINTAINER=   martin%NetBSD.org@localhost
 HOMEPAGE=      http://www.mpg123.org/
 COMMENT?=      Contains the ${MPG123_MODULE} module for mpg123
 
+USE_LANGUAGES=         c99
 USE_LIBTOOL?=          yes
 USE_TOOLS+=            pkg-config gmake
 GNU_CONFIGURE?=                yes
@@ -27,6 +28,8 @@ CONFIGURE_ENV+=               MPG123_MODULE=${MPG123_
 
 DISTINFO_FILE=         ${.CURDIR}/../../audio/mpg123/distinfo
 
+CPPFLAGS.SunOS+=       -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
+
 .if !defined(MPG123_BUILDING_BASE)
 INSTALLATION_DIRS+=    lib/mpg123
 LIBS+=                 -lmpg123



Home | Main Index | Thread Index | Old Index