pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/libmad



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Mar 16 16:23:22 UTC 2024

Modified Files:
        pkgsrc/audio/libmad: Makefile
        pkgsrc/audio/libmad/files: mad.pc.in

Log Message:
libmad: Do not hardcode COMPILER_RPATH_FLAG


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/audio/libmad/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/libmad/files/mad.pc.in

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

Modified files:

Index: pkgsrc/audio/libmad/Makefile
diff -u pkgsrc/audio/libmad/Makefile:1.24 pkgsrc/audio/libmad/Makefile:1.25
--- pkgsrc/audio/libmad/Makefile:1.24   Mon Jul 25 11:12:19 2022
+++ pkgsrc/audio/libmad/Makefile        Sat Mar 16 16:23:22 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2022/07/25 11:12:19 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2024/03/16 16:23:22 nia Exp $
 
 DISTNAME=      libmad-0.15.1b
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mad/}
 
@@ -27,8 +27,9 @@ CONFIGURE_ARGS+=      --disable-aso
 .endif
 
 post-build:
-       ${SED}  -e 's,@PREFIX@,${PREFIX},g'                     \
-               -e 's,@VERSION@,${PKGVERSION},g'                \
+       ${SED}  -e 's,@PREFIX@,${PREFIX},g'                             \
+               -e 's,@VERSION@,${PKGVERSION},g'                        \
+               -e 's|@COMPILER_RPATH_FLAG@|${COMPILER_RPATH_FLAG:Q}|g' \
                < ${FILESDIR}/mad.pc.in > ${WRKDIR}/mad.pc
 
 post-install:

Index: pkgsrc/audio/libmad/files/mad.pc.in
diff -u pkgsrc/audio/libmad/files/mad.pc.in:1.1 pkgsrc/audio/libmad/files/mad.pc.in:1.2
--- pkgsrc/audio/libmad/files/mad.pc.in:1.1     Wed Dec 17 03:23:46 2003
+++ pkgsrc/audio/libmad/files/mad.pc.in Sat Mar 16 16:23:22 2024
@@ -7,5 +7,5 @@ Name: mad
 Description: MPEG Audio Decoder
 Requires:
 Version: @VERSION@
-Libs: -Wl,-R${libdir} -L${libdir} -lmad -lm
+Libs: @COMPILER_RPATH_FLAG@${libdir} -L${libdir} -lmad -lm
 Cflags: -I${includedir}



Home | Main Index | Thread Index | Old Index