diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
commit | 08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch) | |
tree | 0cfc4f0736babb895eb97a65c6defe632a0249c7 /x11-clocks/wmtimer/files/patch-wmtimer__Makefile | |
parent | editors/fte: update to 20110708 (diff) |
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Diffstat (limited to 'x11-clocks/wmtimer/files/patch-wmtimer__Makefile')
-rw-r--r-- | x11-clocks/wmtimer/files/patch-wmtimer__Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/x11-clocks/wmtimer/files/patch-wmtimer__Makefile b/x11-clocks/wmtimer/files/patch-wmtimer__Makefile new file mode 100644 index 000000000000..1da0510384d8 --- /dev/null +++ b/x11-clocks/wmtimer/files/patch-wmtimer__Makefile @@ -0,0 +1,26 @@ +--- Makefile.orig Sat Nov 20 18:19:07 2004 ++++ Makefile Sat Nov 20 18:22:11 2004 +@@ -1,7 +1,6 @@ +-CC = gcc +-LIBDIR = -L/usr/X11R6/lib -L/usr/lib +-LIBS = -lXpm -lXext -lX11 -lpthread `pkg-config --libs gtk+-2.0` +-CFLAGS = `pkg-config --cflags gtk+-2.0` ++LIBDIR = -L${LOCALBASE}/lib ++LIBS = -lXpm -lXext -lX11 `pkg-config --libs gtk+-2.0` ${PTHREAD_LIBS} ++CFLAGS += `pkg-config --cflags gtk+-2.0` ${PTHREAD_CFLAGS} + + OBJS = wmtimer.o \ + ../wmgeneral/wmgeneral.o \ +@@ -10,10 +9,10 @@ + + all: wmtimer + .c.o: +- $(CC) -g -c -O2 -Wall $< -o $*.o $(CFLAGS) ++ $(CC) -c $< -o $*.o $(CFLAGS) + + wmtimer: $(OBJS) +- $(CC) -Wall -g -o wmtimer $^ $(LIBDIR) $(LIBS) ++ $(CC) -o wmtimer $^ $(LIBDIR) $(LIBS) + + install: + cp wmtimer /usr/local/bin/ |