pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/xcolor



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Wed Apr  2 12:27:28 UTC 2025

Modified Files:
        pkgsrc/x11/xcolor: Makefile

Log Message:
x11/xcolor: Don't override do-install; add to it.

The default do-cargo-install logic works fine.  We just have a man
page to install on top of it.

This obviates the need to bake in a reference to the `target/release'
directory, which doesn't work for cross-builds.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/x11/xcolor/Makefile

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

Modified files:

Index: pkgsrc/x11/xcolor/Makefile
diff -u pkgsrc/x11/xcolor/Makefile:1.7 pkgsrc/x11/xcolor/Makefile:1.8
--- pkgsrc/x11/xcolor/Makefile:1.7      Mon Oct 23 06:37:59 2023
+++ pkgsrc/x11/xcolor/Makefile  Wed Apr  2 12:27:28 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2023/10/23 06:37:59 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2025/04/02 12:27:28 riastradh Exp $
 
 DISTNAME=      xcolor-0.5.1
 PKGREVISION=   2
@@ -21,8 +21,8 @@ INSTALLATION_DIRS=    bin ${PKGMANDIR}/man1
 RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib
 RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libxcb}/lib
 
-do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/xcolor ${DESTDIR}${PREFIX}/bin
+do-install: do-install-man
+do-install-man: .PHONY
        ${INSTALL_MAN} ${WRKSRC}/man/xcolor.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xcolor.1
 
 .include "../../lang/rust/cargo.mk"



Home | Main Index | Thread Index | Old Index