summaryrefslogtreecommitdiff
path: root/x11/wmcliphist
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2003-07-03 04:54:01 +0000
committerPatrick Li <pat@FreeBSD.org>2003-07-03 04:54:01 +0000
commit9566e3dbf18886a3b0096606acfbdadec85c3c6a (patch)
tree1500ec752f108387f71a218f1d4d79b9dd17a212 /x11/wmcliphist
parentRegister catalog entry with xmlcatmgr. (diff)
Fix build on alpha
Notified by: kris
Notes
Notes: svn path=/head/; revision=84094
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 a698e64f9745..5b282b4b1222 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 2b698d869004..29d97e0cc896 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 \