Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2024 21:38:09 GMT
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: fa7bc9ba3e7a - 2024Q1 - multimedia/mplayer: Fix icon install with GUI build
Message-ID:  <202402252138.41PLc9F1090210@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q1 has been updated by riggs:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fa7bc9ba3e7aad5bc25cb2038b79956a2292d2fb

commit fa7bc9ba3e7aad5bc25cb2038b79956a2292d2fb
Author:     Thomas Zander <riggs@FreeBSD.org>
AuthorDate: 2024-02-25 20:23:13 +0000
Commit:     Thomas Zander <riggs@FreeBSD.org>
CommitDate: 2024-02-25 20:39:40 +0000

    multimedia/mplayer: Fix icon install with GUI build
    
    While on it: Remove additional "-f" passing to ${CP}.
    
    PR:             277295
    Reported by:    m.ne@gmx.net
    MFH:            2024Q1
    
    (cherry picked from commit 2e499eeab4df13d21e960beb701af1bb81bac148)
---
 multimedia/mplayer/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index b9f76117f763..1a325e63ca95 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -90,7 +90,8 @@ post-install:
 .if ${PORT_OPTIONS:MGUI} && ${PORT_OPTIONS:MX11}
 	@${LN} -sf mplayer ${STAGEDIR}${PREFIX}/bin/gmplayer
 	@(cd ${STAGEDIR}${MAN1PREFIX}/man/man1 && ${LN} -sf mplayer.1.gz gmplayer.1.gz)
-	${CP} -f ${WRKSRC}/etc/mplayer256x256.png ${STAGEDIR}${PREFIX}/share/pixmaps/mplayer.png
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
+	${CP} ${WRKSRC}/etc/mplayer256x256.png ${STAGEDIR}${PREFIX}/share/pixmaps/mplayer.png
 .endif
 
 .include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402252138.41PLc9F1090210>