summaryrefslogtreecommitdiff
path: root/misc/bottlerocket/files/patch-Makefile.in
blob: 3f704398941d1240d4e09ddde6dca372d0fe66e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.in.orig	1999-07-18 03:03:14.000000000 +0800
+++ Makefile.in	2014-06-08 23:21:27.239061744 +0800
@@ -23,7 +23,7 @@ includedir = @includedir@
 
 CFLAGS = @CFLAGS@
 
-CFLAGS += -I. -Wall  -O2 -DX10_PORTNAME=\"@X10PORT@\"
+CFLAGS += -I. -Wall -DX10_PORTNAME=\"@X10PORT@\"
 DEFS=@DEFS@
 LIBS=@LIBS@
 INSTALL= @INSTALL@
@@ -49,8 +49,8 @@ br_cmd.o: ${srcdir}/br_cmd.c ${srcdir}/b
 	${CC} ${CFLAGS} ${DEFS} -c ${srcdir}/br_cmd.c
 
 install: br
-	${INSTALL} -d -m 755 ${bindir}
-	${INSTALL} -m 555 br ${bindir}
+	${INSTALL} -d -m 755 $(DESTDIR)${bindir}
+	${INSTALL} -m 555 br $(DESTDIR)${bindir}
 
 clean:
 	-rm -f *.o br