pkgsrc/misc/bottlerocket/patches/patch-aa
2010-02-04 05:08:12 +00:00

24 lines
651 B
Text

$NetBSD: patch-aa,v 1.2 2010/02/04 05:08:12 dholland Exp $
--- Makefile.in.orig 1999-07-17 19:03:14.000000000 +0000
+++ Makefile.in
@@ -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