From 629e191a838f2a79c175dd016ffc1d07471229f2 Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 30 Dec 1999 04:04:11 +0000 Subject: Honor CFLAGS and get the install-info incantation correct in both the package and the Makefile. Noticed by: asami --- misc/hello/Makefile | 5 +++++ misc/hello/files/patch-aa | 11 +++++++++++ misc/hello/pkg-plist | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 misc/hello/files/patch-aa diff --git a/misc/hello/Makefile b/misc/hello/Makefile index ec0a943..6bb6d6c 100644 --- a/misc/hello/Makefile +++ b/misc/hello/Makefile @@ -18,4 +18,9 @@ WRKSRC= ${WRKDIR}/hello-1.3 GNU_CONFIGURE= YES +post-install: + @install-info --dir-file=${PREFIX}/info/dir \ + --entry="* Hello: (hello). Hello Reference Manual." \ + ${PREFIX}/info/hello.info + .include diff --git a/misc/hello/files/patch-aa b/misc/hello/files/patch-aa new file mode 100644 index 0000000..820251a --- /dev/null +++ b/misc/hello/files/patch-aa @@ -0,0 +1,11 @@ +--- Makefile.in.orig Wed Dec 29 21:53:22 1999 ++++ Makefile.in Wed Dec 29 21:53:39 1999 +@@ -31,7 +31,7 @@ + DEFS = @DEFS@ + LIBS = @LIBS@ + +-CFLAGS = -g ++CFLAGS ?= -g + LDFLAGS = -g + + prefix = /usr/local diff --git a/misc/hello/pkg-plist b/misc/hello/pkg-plist index bd9c3d8..14ec072 100644 --- a/misc/hello/pkg-plist +++ b/misc/hello/pkg-plist @@ -1,4 +1,4 @@ bin/hello @unexec install-info --delete %D/info/hello.info %D/info/dir info/hello.info -@exec install-info %D/info/hello.info %D/info/dir +@exec install-info --dir-file=%D/info/dir --entry="* Hello: (hello). Hello Reference Manual." %D/info/hello.info -- cgit v1.1