summaryrefslogtreecommitdiffstats
path: root/x11/wmcliphist
diff options
context:
space:
mode:
Diffstat (limited to 'x11/wmcliphist')
-rw-r--r--x11/wmcliphist/Makefile3
-rw-r--r--x11/wmcliphist/files/patch-Makefile11
2 files changed, 13 insertions, 1 deletions
diff --git a/x11/wmcliphist/Makefile b/x11/wmcliphist/Makefile
index a698e64..5b282b4 100644
--- a/x11/wmcliphist/Makefile
+++ b/x11/wmcliphist/Makefile
@@ -17,6 +17,9 @@ USE_X_PREFIX= yes
USE_XPM= yes
USE_GNOME= gtk12
+pre-patch:
+ @${RM} ${WRKSRC}/foodock/foodock.o
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${MKDIR} ${EXAMPLESDIR}
diff --git a/x11/wmcliphist/files/patch-Makefile b/x11/wmcliphist/files/patch-Makefile
index 2b698d8..29d97e0 100644
--- a/x11/wmcliphist/files/patch-Makefile
+++ b/x11/wmcliphist/files/patch-Makefile
@@ -1,5 +1,5 @@
--- Makefile.orig Sat Nov 16 05:57:01 2002
-+++ Makefile Thu Jun 5 19:05:41 2003
++++ Makefile Thu Jul 3 00:46:29 2003
@@ -1,6 +1,4 @@
-CC = gcc
-
@@ -26,3 +26,12 @@
OBJECTS = wmcliphist.o clipboard.o gui.o rcconfig.o history.o hotkeys.o $(DEBUG)
+@@ -33,7 +31,7 @@
+ lclint $(INCLUDES) +posixlib *.c >lclint.log
+
+ wmcliphist: $(OBJECTS) foodock/foodock.o
+- $(CC) $(LFLAGS) -o $@ $(OBJECTS) foodock/foodock.o
++ $(CC) $(LFLAGS) -o $@ $(OBJECTS) foodock.o
+
+ wmcliphist.o: wmcliphist.c wmcliphist.h icon/wmcliphist_ico_mask.xbm \
+ icon/wmcliphist_ico_dark.xpm icon/wmcliphist_ico_mid.xpm \
OpenPOWER on IntegriCloud