summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-12-30 04:04:11 +0000
committersteve <steve@FreeBSD.org>1999-12-30 04:04:11 +0000
commit629e191a838f2a79c175dd016ffc1d07471229f2 (patch)
tree72726606e0d4a0a563a1fdbf5e5f6027353bf501
parente155eaa94cbe3bd54d2a39f9c5cfe0fbfd9423c1 (diff)
downloadFreeBSD-ports-629e191a838f2a79c175dd016ffc1d07471229f2.zip
FreeBSD-ports-629e191a838f2a79c175dd016ffc1d07471229f2.tar.gz
Honor CFLAGS and get the install-info incantation correct in both the
package and the Makefile. Noticed by: asami
-rw-r--r--misc/hello/Makefile5
-rw-r--r--misc/hello/files/patch-aa11
-rw-r--r--misc/hello/pkg-plist2
3 files changed, 17 insertions, 1 deletions
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 <bsd.port.mk>
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
OpenPOWER on IntegriCloud