pkgsrc-WIP-changes archive

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

argyllcms: packaging adjustments



Module Name:	pkgsrc-wip
Committed By:	Jonathan A. Kollasch <jakllsch%kollasch.net@localhost>
Pushed By:	jakllsch
Date:		Thu Jan 31 09:08:46 2019 -0600
Changeset:	d6aff4daaaaf08d3bf4bc24d0a04e0ac7bef4d7b

Modified Files:
	argyllcms/Makefile

Log Message:
argyllcms: packaging adjustments

Don't strip.

Be more paranoid about getting the do-build and do-install jam
invocations identical.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d6aff4daaaaf08d3bf4bc24d0a04e0ac7bef4d7b

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

diffstat:
 argyllcms/Makefile | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diffs:
diff --git a/argyllcms/Makefile b/argyllcms/Makefile
index e5789e0435..4ef6f3113f 100644
--- a/argyllcms/Makefile
+++ b/argyllcms/Makefile
@@ -25,17 +25,19 @@ BUILDLINK_TRANSFORM+=	rm:-ldl
 BUILD_DEPENDS+=	jam>=2.5.2:../../devel/jam
 
 do-build:
-	cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} ${MAKE_ENV} jam -q -fJambase ${_MAKE_JOBS}
+	cd ${WRKSRC} && ${SETENV} DESTDIR=${DESTDIR} PREFIX=${PREFIX} \
+		REFSUBDIR=share/argyll/ref \
+		${MAKE_ENV} jam -q -fJambase ${_MAKE_JOBS}
 
 do-install:
-	cd ${WRKSRC} && ${SETENV} DESTDIR=${DESTDIR} ${MAKE_ENV} \
+	cd ${WRKSRC} && ${SETENV} DESTDIR=${DESTDIR} PREFIX=${PREFIX} \
 		REFSUBDIR=share/argyll/ref \
-		jam -q -fJambase ${_MAKE_JOBS} install
+		${MAKE_ENV} jam -q -fJambase ${_MAKE_JOBS} install
 	${MV} ${DESTDIR}${PREFIX}/bin/License.txt \
 		${DESTDIR}${PREFIX}/share/argyll/
 
-post-install:
-	${STRIP} ${DESTDIR}${PREFIX}/bin/*
+#post-install:
+#	${STRIP} ${DESTDIR}${PREFIX}/bin/*
 
 .include "../../x11/libXinerama/buildlink3.mk"
 .include "../../x11/libXrandr/buildlink3.mk"


Home | Main Index | Thread Index | Old Index