diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 19:39:50 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 19:39:50 +0000 |
commit | d9616e5a763d1ab83ebac479e3b2222db5c3f87f (patch) | |
tree | a08c8f6002f7c1660aaa80e0f9cf61cd9d71151c /games/wmshuffle/files/patch-Makefile | |
parent | - Update to 1.9, announce message: (diff) |
Rename all 10,000 games/ patch-xy patches to reflect the files they modify.
Notes
Notes:
svn path=/head/; revision=363239
Diffstat (limited to 'games/wmshuffle/files/patch-Makefile')
-rw-r--r-- | games/wmshuffle/files/patch-Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/games/wmshuffle/files/patch-Makefile b/games/wmshuffle/files/patch-Makefile new file mode 100644 index 000000000000..c121f423a3df --- /dev/null +++ b/games/wmshuffle/files/patch-Makefile @@ -0,0 +1,30 @@ +--- Makefile.orig Wed May 15 18:38:32 2002 ++++ Makefile Wed May 15 18:43:28 2002 +@@ -1,14 +1,17 @@ +-LIBDIR = -L/usr/X11R6/lib ++CC ?= gcc ++CFLAGS += -c -Wall ++INCDIR = -I${LOCALBASE}/include ++LIBDIR = -L${LOCALBASE}/lib + LIBS = -lXpm -lXext -lX11 + OBJS = wmshuffle.o ./wmgeneral/wmgeneral.o + + .c.o: +- cc -c -g -O2 -Wall $< -o $*.o ++ ${CC} ${CFLAGS} ${INCDIR} $< -o $*.o + + all: wmshuffle + + wmshuffle: $(OBJS) +- cc -o wmshuffle $^ $(LIBDIR) $(LIBS) ++ ${CC} -o wmshuffle $^ ${LIBDIR} ${LIBS} + + clean: + for i in $(OBJS) ; do \ +@@ -17,5 +20,4 @@ + rm -rf wmshuffle core *~ + + install: +- /usr/bin/install -c -o 0 -g 0 -s -m 755 wmshuffle /usr/local/bin/wmshuffle +- ++ @/usr/bin/install -c -s -m 755 wmshuffle ${DESTDIR}${PREFIX}/bin/wmshuffle |