Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2019 10:57:04 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r503891 - head/devel/pijul
Message-ID:  <201906101057.x5AAv4dq045618@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Mon Jun 10 10:57:04 2019
New Revision: 503891
URL: https://svnweb.freebsd.org/changeset/ports/503891

Log:
  devel/pijul: Use CARGO_INSTALL_PATH and remove some cruft

Modified:
  head/devel/pijul/Makefile

Modified: head/devel/pijul/Makefile
==============================================================================
--- head/devel/pijul/Makefile	Mon Jun 10 10:56:04 2019	(r503890)
+++ head/devel/pijul/Makefile	Mon Jun 10 10:57:04 2019	(r503891)
@@ -291,19 +291,10 @@ CARGO_CRATES=	MacTypes-sys-2.1.0 \
 		ws2_32-sys-0.2.1 \
 		xattr-0.2.2 \
 		yasna-0.1.3
-CARGO_CARGOLOCK=	${WRKSRC:H}/Cargo.lock
 
-PLIST_FILES=	bin/pijul
-WRKSRC_SUBDIR=	pijul
+CARGO_INSTALL_PATH=	pijul
 
-# We are using pijul/Cargo.toml for all phases and profiles are ignored
-# if specified in non root packages.  cargo.mk has no way to override
-# the Cargo.toml used for each phase, so append the release profile
-# to the root Cargo.toml.
-post-configure:
-	@${ECHO_CMD} "[profile.release]" >> ${WRKSRC:H}/Cargo.toml
-	@${ECHO_CMD} "opt-level = 2" >> ${WRKSRC:H}/Cargo.toml
-	@${ECHO_CMD} "debug = false" >> ${WRKSRC:H}/Cargo.toml
+PLIST_FILES=	bin/pijul
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pijul



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