1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/x11-wm/obpager/files/patch-Makefile
Pietro Cerutti c63e6b830b - New port: x11-wm/obpager
OBPager is a lightweight pager designed to be used
with NetWM-compliant window managers like OpenBox.
2009-03-07 17:30:16 +00:00

26 lines
744 B
Plaintext

--- Makefile.orig 2009-03-07 18:16:51.000000000 +0100
+++ Makefile 2009-03-07 18:19:50.000000000 +0100
@@ -7,18 +7,18 @@
# Set the install directory for the executable
-INSTALLDIR = /usr/local/bin
+INSTALLDIR = %%PREFIX%%/bin
# Set the compilation flags and such
-CXX = g++
+CXX = %%CXX%%
CDEFS = -D_REENTRANT
CPPFLAGS = -ggdb -Wall
#CPPFLAGS = -ggdb -Wall -O2
-INCLUDES = -I/usr/X11R6/include/X11 -I/usr/X11R6/include/X11/extensions -I./src
+INCLUDES = -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/X11 -I%%LOCALBASE%%/include/X11/extensions -I./src
COMPILE = $(CXX) $(CDEFS) $(INCLUDES) $(CPPFLAGS)
LINK = $(CXX) $(LDFLAGS) $(LDLIBS)
-LDLIBS = -L/usr/X11R6/lib -lX11 -lXext
+LDLIBS = -L%%LOCALBASE%%/lib -lX11 -lXext