diff options
author | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-09-23 12:10:46 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-09-23 12:10:46 +0000 |
commit | 862a3a90225614bcedf5862d01ad143e889b91f3 (patch) | |
tree | 98e67ee9664c6c555853aeccb965cb9e735b8c04 /misc/wmjulia/files/patch-Makefile | |
parent | games/minetest: enable luajit on powerpc64 (diff) |
misc/wmjulia fix 13-Current build
Another instance of -fno-common issue.
While here:
* Add missig USE_XORG dependency
* Reorganize WRKSRC so we don't generate weird patches
* Pet linters
PR: 249462
Submitted by: jd.fbsd@goneja.de
MFH: 2020Q3 (build fix, -fno-common)
Diffstat (limited to 'misc/wmjulia/files/patch-Makefile')
-rw-r--r-- | misc/wmjulia/files/patch-Makefile | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/misc/wmjulia/files/patch-Makefile b/misc/wmjulia/files/patch-Makefile deleted file mode 100644 index 7494b6b795f7..000000000000 --- a/misc/wmjulia/files/patch-Makefile +++ /dev/null @@ -1,36 +0,0 @@ ---- Makefile.orig Thu May 16 12:16:40 2002 -+++ Makefile Thu May 16 12:17:17 2002 -@@ -1,21 +1,20 @@ --INCDIR = -I/usr/X11R6/include --LIBDIR = -L/usr/X11R6/lib --LIBS = -lXpm -lXext -lX11 -lm --OBJS = wmjulia.o ../wmgeneral/wmgeneral.o -+CC ?= gcc -+CFLAGS += -c -Wall -+INCDIR = -I${LOCALBASE}/include -+LIBDIR = -L${LOCALBASE}/lib -+LIBS = -lXpm -lXext -lX11 -lm -+OBJS = wmjulia.o ../wmgeneral/wmgeneral.o - - .c.o: -- cc -c -g -O2 -Wall -D$(shell echo `uname -s`) $< -o $*.o $(INCDIR) -- --all: wmjulia -+ ${CC} ${CFLAGS} ${INCDIR} -D${shell echo `uname -s`} $< -o $*.o - - wmjulia: $(OBJS) -- cc -o wmjulia $^ $(LIBDIR) $(LIBS) -+ ${CC} -o wmjulia $^ ${LIBDIR} ${LIBS} -+ -+all: wmjulia - - clean: -- for i in $(OBJS) ; do \ -+ for i in ${OBJS}; do \ - rm -f $$i; \ - done -- rm -f wmjulia -- --install: -- mv wmjulia /usr/local/bin -+ rm -f wmjulia core |