mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
sysutils/freebsd-bsdlabel: Fix package on non-Intel architectures
FreeBSD never installed disklabel(8) on non-Intel architectures. MFH: 2024Q3
This commit is contained in:
parent
52cbcc7de3
commit
0f349ce7fa
2 changed files with 10 additions and 2 deletions
|
@ -24,4 +24,12 @@ MAKE_ENV+= MAKESYSPATH=/usr/src/share/mk \
|
|||
|
||||
WRKSRC_SUBDIR= bsdlabel
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
|
||||
PLIST_SUB= DISKLABEL=""
|
||||
.else
|
||||
PLIST_SUB= DISKLABEL="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
sbin/bsdlabel
|
||||
sbin/disklabel
|
||||
%%DISKLABEL%%sbin/disklabel
|
||||
share/man/man8/bsdlabel.8.gz
|
||||
share/man/man8/disklabel.8.gz
|
||||
%%DISKLABEL%%share/man/man8/disklabel.8.gz
|
||||
|
|
Loading…
Add table
Reference in a new issue