1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Respect X11BASE

PR:		ports/105893
Submitted by:	trasz
This commit is contained in:
Martin Wilke 2006-11-27 22:03:32 +00:00
parent 624a416047
commit 43aad21b33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178137
2 changed files with 15 additions and 6 deletions

View File

@ -1,11 +1,13 @@
--- Makefile.orig Thu Jul 5 20:09:50 2001
+++ Makefile Thu Jul 5 20:10:23 2001
--- Makefile.orig Wed Mar 28 00:19:12 2001
+++ Makefile Mon Nov 27 00:14:57 2006
@@ -1,13 +1,11 @@
-prefix=
CPPFLAGS = -I/usr/X11R6/include -I/usr/local/include
-CPPFLAGS = -I/usr/X11R6/include -I/usr/local/include
+CPPFLAGS = -I$(X11BASE)/include -I/usr/local/include
LIBS = -lXpm -lX11 -ldockapp
LDFLAGS = -L/usr/X11R6/lib -L/usr/local/lib
-LDFLAGS = -L/usr/X11R6/lib -L/usr/local/lib
-CFLAGS = -O2 -Wall
+LDFLAGS = -L$(X11BASE)/lib -L/usr/local/lib
+CFLAGS += -Wall
DFLAGS = -ggdb3 -Wall
@ -15,3 +17,10 @@
debug: wmlpq.c wmlpq-master.xpm
cc $(DFLAGS) $(LDFLAGS) $(CPPFLAGS) -o wmlpq $(LIBS) wmlpq.c
@@ -23,6 +21,3 @@
cp -f wmlpq.1x /usr/local/man/man1/
chmod 644 /usr/local/man/man1/wmlpq.1x
-install-debian: wmlpq
- cp -f wmlpq $(prefix)/usr/X11R6/bin/
- chmod 755 $(prefix)/usr/X11R6/bin/wmlpq

View File

@ -1,6 +1,6 @@
bin/wmlpq
%%PORTDOCS%%share/doc/wmlpq/README
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%share/examples/wmlpq/sample.wmlpqrc
%%PORTDOCS%%share/examples/wmlpq/wmlpqrc
%%PORTDOCS%%@dirrm share/examples/wmlpq
%%PORTDOCS%%@dirrm share/doc/wmlpq
%%PORTDOCS%%@dirrm %%DOCSDIR%%