summaryrefslogtreecommitdiff
path: root/misc/wmpal/files
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-04-20 12:32:56 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-04-20 12:32:56 +0000
commit4c89524f2d38f0f694bb5827b84f56c6bc79d40c (patch)
tree37c2fb00609a09ea2f8d5cefb97259c3caebe35b /misc/wmpal/files
parentAdd ${PTHREAD_LIBS} to the libs to fix building on XFree86-4. (diff)
Add wmpal 0.5, a one of the most useless dockapps in the world.
Diffstat (limited to 'misc/wmpal/files')
-rw-r--r--misc/wmpal/files/patch-Makefile.in29
-rw-r--r--misc/wmpal/files/patch-configure15
-rw-r--r--misc/wmpal/files/patch-src::Makefile.in38
-rw-r--r--misc/wmpal/files/patch-src::config.h.in16
4 files changed, 98 insertions, 0 deletions
diff --git a/misc/wmpal/files/patch-Makefile.in b/misc/wmpal/files/patch-Makefile.in
new file mode 100644
index 000000000000..64da9ae1399e
--- /dev/null
+++ b/misc/wmpal/files/patch-Makefile.in
@@ -0,0 +1,29 @@
+
+$FreeBSD$
+
+--- Makefile.in 2001/04/20 12:18:18 1.1
++++ Makefile.in 2001/04/20 12:18:51
+@@ -3,18 +3,18 @@
+ all: wmpal
+
+ wmpal:
+- cd src && make wmpal
++ cd src && $(MAKE) wmpal
+
+ clean:
+ rm -f *~ *.o core
+- cd src && make clean
++ cd src && $(MAKE) clean
+
+ distclean: clean
+ rm -f config.status config.log Makefile config.cache
+- cd src && make distclean
++ cd src && $(MAKE) distclean
+
+ install:
+- cd src && make install
++ cd src && $(MAKE) install
+
+ uninstall:
+- cd src && make uninstall
++ cd src && $(MAKE) uninstall
diff --git a/misc/wmpal/files/patch-configure b/misc/wmpal/files/patch-configure
new file mode 100644
index 000000000000..91906181f14a
--- /dev/null
+++ b/misc/wmpal/files/patch-configure
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- configure.orig Fri Apr 20 03:56:43 2001
++++ configure Fri Apr 20 15:14:17 2001
+@@ -1205,7 +1205,8 @@
+ fi
+
+
+-LDFLAGS=`gtk-config --cflags`
++CFLAGS="${CFLAGS} `${GTK_CONFIG} --cflags`"
++LDFLAGS="${LDFLAGS} `${GTK_CONFIG} --libs`"
+
+
+
diff --git a/misc/wmpal/files/patch-src::Makefile.in b/misc/wmpal/files/patch-src::Makefile.in
new file mode 100644
index 000000000000..b77484dd0b29
--- /dev/null
+++ b/misc/wmpal/files/patch-src::Makefile.in
@@ -0,0 +1,38 @@
+
+$FreeBSD$
+
+--- src/Makefile.in.orig Fri Apr 20 03:56:43 2001
++++ src/Makefile.in Fri Apr 20 15:19:46 2001
+@@ -5,7 +5,7 @@
+ SRCS = wmpal.c xsay.c
+ OBJS = $(SRCS:.c=.o)
+
+-CFLAGS = -Wall -O2 -I.
++CFLAGS = @CFLAGS@ @CPPFLAGS@ -Wall -I.
+
+ LDFLAGS = @LDFLAGS@
+
+@@ -17,18 +17,13 @@
+ $(CC) $(LDFLAGS) $(CFLAGS) -c $< -o $*.o
+
+ install: all
+- if test ! -d $(PREFIX); then mkdir -p $(PREFIX); fi
+-
+- if test ! -d $(PREFIX)/bin; then mkdir -p $(PREFIX)/bin; fi
+-
+- @INSTALL@ -c -m 755 -s wmpal $(PREFIX)/bin
+-
+- @INSTALL@ -c -m 755 -s xsay $(PREFIX)/bin
++ $(BSD_INSTALL_PROGRAM) wmpal $(PREFIX)/bin
++ $(BSD_INSTALL_PROGRAM) xsay $(PREFIX)/bin
+
+ wmpal: $(IFLAGS)
+- gcc -g -o wmpal wmpal.c $(LIBS) $(CFLAGS)
+- gcc -DHAVE_CONFIG_H -g xsay.c -g -O2 -Wall $(LDFLAGS) -c xsay.c
+- gcc -g -O2 -Wall $(LDFLAGS) -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -o xsay xsay.o
++ $(CC) $(CFLAGS) -o wmpal wmpal.c $(LDFLAGS) $(LIBS)
++ $(CC) $(CFLAGS) -c -DHAVE_CONFIG_H xsay.c -o xsay.o
++ $(CC) $(CFLAGS) -o xsay xsay.o $(LDFLAGS) $(LIBS)
+ strip wmpal
+ strip xsay
+
diff --git a/misc/wmpal/files/patch-src::config.h.in b/misc/wmpal/files/patch-src::config.h.in
new file mode 100644
index 000000000000..5fb947aa6b08
--- /dev/null
+++ b/misc/wmpal/files/patch-src::config.h.in
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- src/config.h.in 2001/04/20 12:24:15 1.1
++++ src/config.h.in 2001/04/20 12:24:31
+@@ -5,8 +5,8 @@
+
+ /* Choose one pal and remove the slash-star from both ends */
+
+-#define DINO
+-/* #define DEMON */
++/* #define DINO */
++#define DEMON
+ /* #define GRAPE */
+ /* #define PEAR */
+ /* #define SUN */