aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-05-24 10:40:15 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-05-24 10:40:15 +0000
commit652cf2a59b92ca140d64a65a5433a4426e12a687 (patch)
treebf225df93494ed7d1b995fc82962d65a4e602e1c
parent8de8b4f9e2707aae3267ecf1d956cd7a3e68733e (diff)
downloadports-652cf2a59b92ca140d64a65a5433a4426e12a687.tar.gz
ports-652cf2a59b92ca140d64a65a5433a4426e12a687.zip
Notes
-rw-r--r--net/lvwimax/Makefile18
-rw-r--r--net/lvwimax/files/patch-lvwimax.c11
2 files changed, 15 insertions, 14 deletions
diff --git a/net/lvwimax/Makefile b/net/lvwimax/Makefile
index 0a18d4d15684..7ca07a93c50f 100644
--- a/net/lvwimax/Makefile
+++ b/net/lvwimax/Makefile
@@ -1,19 +1,15 @@
-# New ports collection makefile for: net/lvwimax
-# Date created: 2010-06-04
-# Whom: bsam
-#
+# Created by: Boris Samorodov <bsam@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= lvwimax
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= ftp://ftp.ipt.ru/pub/download/ \
+MASTER_SITES= ftp://ftp.wart.ru/pub/download/ \
${MASTER_SITE_LOCAL}
MAINTAINER= bsam@FreeBSD.org
-COMMENT= A userland driver for Samsung WiMAX modems
+COMMENT= Userland driver for Samsung WiMAX modems
LICENSE= GPLv2
@@ -21,12 +17,6 @@ USE_RC_SUBR= 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:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile
@@ -37,4 +27,4 @@ post-install:
${INSTALL_DATA} "${WRKDIR}/lvwimax.conf" ${PREFIX}/etc/devd
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/lvwimax/files/patch-lvwimax.c b/net/lvwimax/files/patch-lvwimax.c
new file mode 100644
index 000000000000..f92eb2196163
--- /dev/null
+++ b/net/lvwimax/files/patch-lvwimax.c
@@ -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>