- use mandoc(1) for an mdoc(7) page
- some cleanup
This commit is contained in:
parent
aa1ee2b3a8
commit
c7c300c427
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2010/10/19 07:43:04 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2010/10/20 15:36:46 naddy Exp $
|
||||
|
||||
COMMENT= USB developer utilities
|
||||
|
||||
DISTNAME= usbutil-0.5
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
REVISION= 0
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MASTER_SITES= ftp://ftp.augustsson.net/pub/netbsd/
|
||||
@ -14,10 +14,9 @@ PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c
|
||||
|
||||
USE_GROFF = Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
INSTALL_TARGET= man install
|
||||
ALL_TARGET= all man
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/usbgen.0 ${PREFIX}/man/cat8
|
||||
|
@ -1,14 +1,15 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1 2001/03/19 17:40:06 wilfried Exp $
|
||||
$OpenBSD: patch-Makefile,v 1.2 2010/10/20 15:36:46 naddy Exp $
|
||||
--- Makefile.orig Wed May 19 23:05:31 1999
|
||||
+++ Makefile Mon Mar 19 17:56:07 2001
|
||||
@@ -1,5 +1,4 @@
|
||||
+++ Makefile Wed Oct 20 17:26:54 2010
|
||||
@@ -1,22 +1,21 @@
|
||||
PROGS = usbctl usbdebug usbstats usbgen
|
||||
-CFLAGS = -Wall -s
|
||||
|
||||
all: $(PROGS)
|
||||
|
||||
@@ -7,16 +6,16 @@ man: usbgen.8
|
||||
nroff -mandoc usbgen.8 > usbgen.0
|
||||
man: usbgen.8
|
||||
- nroff -mandoc usbgen.8 > usbgen.0
|
||||
+ mandoc usbgen.8 > usbgen.0
|
||||
|
||||
usbctl: usbctl.c
|
||||
- cc $(CFLAGS) usbctl.c -o usbctl
|
||||
|
11
sysutils/usbutil/patches/patch-usbstats_c
Normal file
11
sysutils/usbutil/patches/patch-usbstats_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-usbstats_c,v 1.3 2010/10/20 15:36:46 naddy Exp $
|
||||
--- usbstats.c.orig Wed Oct 20 17:27:54 2010
|
||||
+++ usbstats.c Wed Oct 20 17:28:08 2010
|
||||
@@ -25,6 +25,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
Loading…
Reference in New Issue
Block a user