respect CC/CFLAGS, ok maintainer
This commit is contained in:
parent
5465b2810b
commit
c3713ccace
30
sysutils/usbutil/patches/patch-Makefile
Normal file
30
sysutils/usbutil/patches/patch-Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1 2001/03/19 17:40:06 wilfried Exp $
|
||||
--- Makefile.orig Wed May 19 23:05:31 1999
|
||||
+++ Makefile Mon Mar 19 17:56:07 2001
|
||||
@@ -1,5 +1,4 @@
|
||||
PROGS = usbctl usbdebug usbstats usbgen
|
||||
-CFLAGS = -Wall -s
|
||||
|
||||
all: $(PROGS)
|
||||
|
||||
@@ -7,16 +6,16 @@ man: usbgen.8
|
||||
nroff -mandoc usbgen.8 > usbgen.0
|
||||
|
||||
usbctl: usbctl.c
|
||||
- cc $(CFLAGS) usbctl.c -o usbctl
|
||||
+ ${CC} $(CFLAGS) usbctl.c -o usbctl
|
||||
|
||||
usbdebug: usbdebug.c
|
||||
- cc $(CFLAGS) usbdebug.c -o usbdebug
|
||||
+ ${CC} $(CFLAGS) usbdebug.c -o usbdebug
|
||||
|
||||
usbstats: usbstats.c
|
||||
- cc $(CFLAGS) usbstats.c -o usbstats
|
||||
+ ${CC} $(CFLAGS) usbstats.c -o usbstats
|
||||
|
||||
usbgen: usbgen.c
|
||||
- cc $(CFLAGS) usbgen.c -o usbgen
|
||||
+ ${CC} $(CFLAGS) usbgen.c -o usbgen
|
||||
|
||||
install: $(PROGS)
|
||||
install usbctl usbdebug usbstats usbgen $(PREFIX)/sbin
|
16
textproc/rxp/patches/patch-Makefile
Normal file
16
textproc/rxp/patches/patch-Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1 2001/03/19 17:41:49 wilfried Exp $
|
||||
--- Makefile.orig Tue Nov 14 14:53:21 2000
|
||||
+++ Makefile Mon Mar 19 18:01:15 2001
|
||||
@@ -2,11 +2,7 @@ VERSION= 1.2.3
|
||||
|
||||
CHAR_SIZE=16
|
||||
|
||||
-DEBUG= -g
|
||||
-CC= gcc
|
||||
-GCCFLAGS= -Wall -ansi -pedantic
|
||||
-CFLAGS= $(GCCFLAGS) $(DEBUG) -O -DCHAR_SIZE=$(CHAR_SIZE)
|
||||
-LDFLAGS= $(DEBUG)
|
||||
+CFLAGS+= -DCHAR_SIZE=$(CHAR_SIZE)
|
||||
|
||||
# You may well have to change this line. Just "LIBS=" will probably work.
|
||||
LIBS:sh= [ -f /usr/lib/libsocket.a ] && echo "-lnsl -lsocket -ldl" || echo ""
|
Loading…
Reference in New Issue
Block a user