pkgsrc/misc/9menu/patches/patch-Makefile.noimake
nia e38147b0ad 9menu: Update to 1.10
2020-04-16         Arnold D. Robbins     <arnold@skeeve.com>

	* 9menu.c (version): Bump to 1.10 (finally).
	(usage): Clean up white space in error messages.
	(args): Fix comparison in first int. Thanks to GCC.
	General: Change a number of variables from int to bool, and
	use <stdbool.h>.  Use strerror(errno) in all relevant error messages.
	* 9menu.1: Increment the version.

2018-04-25         Arnold D. Robbins     <arnold@skeeve.com>

	Updates suggested by Eric Lindblad <msvc_test@outlook.com>.

	* 9menu.c (version): Remove the @(#) SCCS marker. Hasn't been
	necessary for decades, really.
	* 9menu.1: Update the Examples.

2016-01-07         Arnold D. Robbins     <arnold@skeeve.com>

	* 9menu.c: Convert forward declarations to use prototypes.
	(run_menu): Bug fix. Increment/decrement `i' when keypress
	moves things up and down so that mouse moves to the right
	place upon remapping the window.

2015-06-25         Arnold D. Robbins     <arnold@skeeve.com>

	* 9menu.1: Updated.

2015-03-19         Arnold D. Robbins     <arnold@skeeve.com>

	* ChangeLog: Reconstituted from check-in logs and diffs.
	* 9menu.c: Typo fix. Convert all function signatures to
	ANSI style.
	* README: Update the date.

2015-01-14         Arnold D. Robbins     <arnold@skeeve.com>

	* 9menu.c (main): Fix compile warnings.
	(run_menu): Call XkbKeycodeToKeysym() instead of XKeycodeToKeysym().
2020-12-08 11:15:57 +00:00

18 lines
401 B
Text

$NetBSD: patch-Makefile.noimake,v 1.1 2020/12/08 11:15:57 nia Exp $
Respect CFLAGS and LDFLAGS.
--- Makefile.noimake.orig 2020-04-16 18:08:32.000000000 +0000
+++ Makefile.noimake
@@ -5,9 +5,8 @@
# Arnold Robbins
# arnold@skeeve.atl.ga.us
-CC = gcc
-CFLAGS = -g -O
-LIBS = -lX11
+CFLAGS+= -I${X11BASE}/include
+LIBS = ${LDFLAGS} -lX11
9menu: 9menu.c
$(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu