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:   nia
Date:           Wed Nov  8 10:58:25 UTC 2023

Modified Files:
        pkgsrc/audio/mpg123: Makefile

Log Message:
mpg123: Resolve a PLIST conflict on Darwin/powerpc.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/audio/mpg123/Makefile

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
diff -u pkgsrc/audio/mpg123/Makefile:1.69 pkgsrc/audio/mpg123/Makefile:1.70
--- pkgsrc/audio/mpg123/Makefile:1.69   Sat Feb 11 12:39:17 2023
+++ pkgsrc/audio/mpg123/Makefile        Wed Nov  8 10:58:25 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2023/02/11 12:39:17 adam Exp $
+# $NetBSD: Makefile,v 1.70 2023/11/08 10:58:25 nia Exp $
 
 PKGNAME=       ${DISTNAME:C/[^[:alnum:]]*//}
 COMMENT=       MPEG layer 1, 2, and 3 audio player
@@ -37,6 +37,12 @@ CPPFLAGS+=   -DDEVOSSAUDIO="\"${DEVOSSAUDI
 CPPFLAGS+=     -DDEVOSSSOUND="\"${DEVOSSSOUND}\""
 .endif
 
+# It attempts to remove all libtool artifacts after it's done installing
+# the sound modules, but somehow .a persists with some linkers (I found
+# this with old Darwin linkers), resulting in a PLIST conflict.
+post-install:
+       ${RM} -f ${DESTDIR}${PREFIX}/lib/mpg123/*.a
+
 # MPG123_MODULE is not finally set yet, to avoid NOT_FOR_PLATFORM triggers
 .include "Makefile.common"
 



Home | Main Index | Thread Index | Old Index