- Remove always-false OSVERSION conditions
- Convert the remaining one into IGNORE_DragonFly and fix message correspondingly Approved by: portmgr blanket
This commit is contained in:
parent
75a8c68569
commit
dcc58cd479
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472467
1 changed files with 3 additions and 11 deletions
|
@ -13,22 +13,14 @@ COMMENT= Userspace tools for MMC/SD devices
|
||||||
LICENSE= BSD3CLAUSE GPLv2
|
LICENSE= BSD3CLAUSE GPLv2
|
||||||
LICENSE_COMB= multi
|
LICENSE_COMB= multi
|
||||||
|
|
||||||
|
IGNORE_DragonFly= only supported on FreeBSD
|
||||||
|
|
||||||
USES= gmake tar:bzip2
|
USES= gmake tar:bzip2
|
||||||
|
|
||||||
PLIST_FILES= man/man1/mmc.1.gz sbin/mmc
|
PLIST_FILES= man/man1/mmc.1.gz sbin/mmc
|
||||||
|
|
||||||
MMC_GITURL= git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
|
MMC_GITURL= git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if (${OPSYS} == FreeBSD && \
|
|
||||||
(${OSVERSION} < 1003514 || \
|
|
||||||
(${OSVERSION} > 1100000 && ${OSVERSION} < 1100513) || \
|
|
||||||
(${OSVERSION} > 1200000 && ${OSVERSION} < 1200025))) || \
|
|
||||||
${OPSYS} == DragonFly
|
|
||||||
IGNORE= only supported on recent OS versions
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.for i in Makefile mmc_cmds.c mmc.c man/mmc.1
|
.for i in Makefile mmc_cmds.c mmc.c man/mmc.1
|
||||||
@${REINPLACE_CMD} -e 's|^AM_CFLAGS|#^|; s|path/to|dev|g;\
|
@${REINPLACE_CMD} -e 's|^AM_CFLAGS|#^|; s|path/to|dev|g;\
|
||||||
|
@ -49,4 +41,4 @@ maintainer-fetch:
|
||||||
@${MAKE} makesum
|
@${MAKE} makesum
|
||||||
@${MAKE} clean
|
@${MAKE} clean
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Reference in a new issue