diff --git a/sysutils/freebsd-bsdlabel/Makefile b/sysutils/freebsd-bsdlabel/Makefile index 14b4eab20485..0626b13dee90 100644 --- a/sysutils/freebsd-bsdlabel/Makefile +++ b/sysutils/freebsd-bsdlabel/Makefile @@ -24,4 +24,12 @@ MAKE_ENV+= MAKESYSPATH=/usr/src/share/mk \ WRKSRC_SUBDIR= bsdlabel +.include + +.if ${ARCH} == "amd64" || ${ARCH} == "i386" +PLIST_SUB= DISKLABEL="" +.else +PLIST_SUB= DISKLABEL="@comment " +.endif + .include diff --git a/sysutils/freebsd-bsdlabel/pkg-plist b/sysutils/freebsd-bsdlabel/pkg-plist index e45737f5dcb8..23491d438a4b 100644 --- a/sysutils/freebsd-bsdlabel/pkg-plist +++ b/sysutils/freebsd-bsdlabel/pkg-plist @@ -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