mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
. fix build at 10.x; [1]
. trim Makefile headres; . fix MASTER_SITES; . remove the indefinite article from COMMENT; . remove check for unsupported OS versions. Pointed out by: pointyhat build (via miwibot) [1]
This commit is contained in:
parent
8de8b4f9e2
commit
652cf2a59b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318956
2 changed files with 15 additions and 14 deletions
|
@ -1,19 +1,15 @@
|
||||||
# New ports collection makefile for: net/lvwimax
|
# Created by: Boris Samorodov <bsam@FreeBSD.org>
|
||||||
# Date created: 2010-06-04
|
|
||||||
# Whom: bsam
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= lvwimax
|
PORTNAME= lvwimax
|
||||||
PORTVERSION= 0.1
|
PORTVERSION= 0.1
|
||||||
PORTREVISION= 1
|
PORTREVISION= 1
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= ftp://ftp.ipt.ru/pub/download/ \
|
MASTER_SITES= ftp://ftp.wart.ru/pub/download/ \
|
||||||
${MASTER_SITE_LOCAL}
|
${MASTER_SITE_LOCAL}
|
||||||
|
|
||||||
MAINTAINER= bsam@FreeBSD.org
|
MAINTAINER= bsam@FreeBSD.org
|
||||||
COMMENT= A userland driver for Samsung WiMAX modems
|
COMMENT= Userland driver for Samsung WiMAX modems
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
|
@ -21,12 +17,6 @@ USE_RC_SUBR= lvwimax
|
||||||
|
|
||||||
PLIST_FILES= etc/devd/lvwimax.conf sbin/lvwimax
|
PLIST_FILES= etc/devd/lvwimax.conf sbin/lvwimax
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if ${OSVERSION} < 800069
|
|
||||||
IGNORE= requires FreeBSD 8.0-RELEASE or later for libusb-1.0 support
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile
|
||||||
|
|
||||||
|
@ -37,4 +27,4 @@ post-install:
|
||||||
${INSTALL_DATA} "${WRKDIR}/lvwimax.conf" ${PREFIX}/etc/devd
|
${INSTALL_DATA} "${WRKDIR}/lvwimax.conf" ${PREFIX}/etc/devd
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
11
net/lvwimax/files/patch-lvwimax.c
Normal file
11
net/lvwimax/files/patch-lvwimax.c
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- lvwimax.c.orig 2009-06-18 00:44:07.000000000 +0500
|
||||||
|
+++ lvwimax.c 2013-05-24 12:43:13.000000000 +0400
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
|
||||||
|
#include <syslog.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
-#include <libusb20.h>
|
||||||
|
+#include <libusb.h>
|
||||||
|
#include <pthread.h>
|
||||||
|
#include <poll.h>
|
||||||
|
#include <errno.h>
|
Loading…
Add table
Reference in a new issue