From cbc9bcb81b9e90363ed26789888e07fdc12940eb Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Sun, 8 Jun 2014 15:23:03 +0000 Subject: [PATCH] Stagify. --- misc/bottlerocket/Makefile | 1 - misc/bottlerocket/files/patch-aa | 17 ++++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/misc/bottlerocket/Makefile b/misc/bottlerocket/Makefile index e9365e53d069..b2e336816c51 100644 --- a/misc/bottlerocket/Makefile +++ b/misc/bottlerocket/Makefile @@ -15,5 +15,4 @@ GNU_CONFIGURE= yes ALL_TARGET= br PLIST_FILES= bin/br -NO_STAGE= yes .include diff --git a/misc/bottlerocket/files/patch-aa b/misc/bottlerocket/files/patch-aa index c8b7b83a9f64..3f704398941d 100644 --- a/misc/bottlerocket/files/patch-aa +++ b/misc/bottlerocket/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.in.old Tue Dec 28 15:12:47 1999 -+++ Makefile.in Tue Dec 28 15:12:59 1999 -@@ -23,7 +23,7 @@ +--- 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@ @@ -9,3 +9,14 @@ 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