diff options
author | tobik <tobik@FreeBSD.org> | 2019-01-26 20:11:15 +0800 |
---|---|---|
committer | tobik <tobik@FreeBSD.org> | 2019-01-26 20:11:15 +0800 |
commit | 30b29cb288f4b80731bedd8c570089ebd7b9ea35 (patch) | |
tree | 9e11cf7eca412c04f6e65e861e8db4fa436cd644 /astro/wmglobe/files/patch-Makefile | |
parent | 2e092645f3ca730741cba711b7a48d61da3d400d (diff) | |
download | freebsd-ports-gnome-30b29cb288f4b80731bedd8c570089ebd7b9ea35.tar.gz freebsd-ports-gnome-30b29cb288f4b80731bedd8c570089ebd7b9ea35.tar.zst freebsd-ports-gnome-30b29cb288f4b80731bedd8c570089ebd7b9ea35.zip |
Resurrect astro/wmglobe
- The distfile is available again on dockapps.net
- Add some missing dependencies as reported by stage-qa
- Assign port to the submitter
PR: 226675
Submitted by: jd.fbsd@goneja.de
Diffstat (limited to 'astro/wmglobe/files/patch-Makefile')
-rw-r--r-- | astro/wmglobe/files/patch-Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/astro/wmglobe/files/patch-Makefile b/astro/wmglobe/files/patch-Makefile new file mode 100644 index 000000000000..ac8b9055954e --- /dev/null +++ b/astro/wmglobe/files/patch-Makefile @@ -0,0 +1,31 @@ +--- Makefile.orig 1999-02-06 12:17:06 UTC ++++ Makefile +@@ -1,12 +1,11 @@ +-INC = -I/usr/X11R6/include +-LIBS = -lXext -lX11 -lm -L/usr/X11R6/lib \ +- -ltiff -lXpm -lpng -lz -ljpeg -lungif -lwraster ++INC = `pkg-config wrlib --cflags` ++LIBS = -lm `pkg-config wrlib xpm xext --libs` + OBJS = src/wmglobe.o src/rend.o src/wmgutil.o \ + src/sunpos.o src/myconvert.o src/mycontext.o + + + .c.o : +- gcc -c -O2 -Wall $(INC) $< -o $*.o ++ ${CC} -c ${CFLAGS} $(INC) $< -o $@ + + all: wmglobe + +@@ -14,9 +13,8 @@ clean: + rm -f src/*.o wmglobe + + wmglobe : $(OBJS) +- gcc -O2 -Wall $(OBJS) -o wmglobe $(LIBS) +- strip wmglobe ++ ${CC} ${CFLAGS} $(OBJS) -o wmglobe $(LIBS) + + install : +- install wmglobe /usr/local/bin +- install wmglobe.1 /usr/local/man/man1 ++ ${BSD_INSTALL_PROGRAM} wmglobe ${PREFIX}/bin ++ ${BSD_INSTALL_MAN} wmglobe.1 ${PREFIX}/man/man1 |