Add sysutils/linux-c7-dosfstools. Required for LTP.
Details
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sysutils/linux-c7-dosfstools/Makefile | ||
---|---|---|
12 ↗ | (On Diff #66553) | Because this port doesn't install any libraries you can set USE_LINUX_RPM=nolib. Then you also get only one pkg-plist file. |
14 ↗ | (On Diff #66553) | Because PKGNAMESUFFIX is empty in this port, this corresponds to the default value for LIB_DISTNAMES so this line can be removed. |
sysutils/linux-c7-dosfstools/pkg-descr | ||
5 ↗ | (On Diff #66553) | This description needs to be updated for dosfstools. |
sysutils/linux-c7-dosfstools/Makefile | ||
---|---|---|
12 ↗ | (On Diff #66553) | Hm, this doesn't seem to work - it results in empty plist and no files being installed. I wonder if this, in ports/Uses/linux.mk:234 should be changed to include usr/bin and usr/sbin, since that's where the ports' files are supposed to go: .for d in bin lib lib64 sbin [ ! -e ${STAGEDIR}${PREFIX}/${d} -o -L ${STAGEDIR}${PREFIX}/${d} ] || \ (cd ${STAGEDIR}${PREFIX} && \ ${FIND} ${d} | ${CPIO} -dumpl --quiet usr && ${RM} -r ${d}) .endfor |
sysutils/linux-c7-dosfstools/Makefile | ||
---|---|---|
12 ↗ | (On Diff #66553) | (Although adding those two doesn't seem to fix the problem.) |
sysutils/linux-c7-dosfstools/Makefile | ||
---|---|---|
12 ↗ | (On Diff #66553) | Seems to work here. I was wrong about there being only one pkg-plist. That's only the case for USE_LINUX_RPM=noarch. You should regenerate pkg-plist with make makeplist though, because it's missing these files: %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/ChangeLog.dosfstools-2.x %%PORTDOCS%%%%DOCSDIR%%/README.dosfstools-2.x %%PORTDOCS%%%%DOCSDIR%%/TODO.dosfstools-2.x Then you should also add OPTIONS_DEFINE=DOCS to the Makefile here. You could have only one pkg-plist if you add PLIST=${PKGDIR}/pkg-plist to the Makefile. |
sysutils/linux-c7-dosfstools/Makefile | ||
---|---|---|
12 ↗ | (On Diff #67038) | It's just a style thing and I don't care so much about this, but I suspect portlint will tell you to add an empty line here (USES/USE_* needs to be a separate block or something). |