freebsd-ports/sysutils/linuxfdisk/Makefile
Alexey Dokuchaev 8a7af791fc Unbreak `sysutils/linuxfdisk' after r276737, which removed DIOCGDINFO once
and for all; the code in `sys_bsd.c' is already using working alternatives
DIOCGMEDIASIZE and DIOCGSECTORSIZE except in sys_bsd_getgeometry(), but it
returns -1 for me even on stable/8.  While here, clean up Makefile a bit.
2015-11-18 06:28:39 +00:00

23 lines
643 B
Makefile

# Created by: netch@netch.kiev.ua
# $FreeBSD$
PORTNAME= linuxfdisk
PORTVERSION= 2.11z
CATEGORIES= sysutils
MASTER_SITES= KERNEL_ORG/linux/utils/util-linux/v2.11/ \
http://ftp.be.debian.org/pub/linux/utils/util-linux/v2.11/ \
ftp://segfault.kiev.ua/pub/
DISTNAME= util-linux-${PORTVERSION}
MAINTAINER= netch@netch.kiev.ua
COMMENT= Fdisk, a partition tables manipulator, from util-linux
WRKSRC= ${WRKDIR}/util-linux-${PORTVERSION}/fdisk
USES= tar:bzip2
ONLY_FOR_ARCHS= i386 amd64
pre-patch:
@${CP} ${FILESDIR}/linuxfdisk-Makefile ${WRKSRC}/Makefile
@${CP} ${FILESDIR}/linuxfdisk-sys_bsd.c ${WRKSRC}/sys_bsd.c
.include <bsd.port.mk>