summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2003-07-03 04:54:01 +0000
committerpat <pat@FreeBSD.org>2003-07-03 04:54:01 +0000
commit93d6d9afdab1ad87ba26fa87b8576d13ad6c159f (patch)
treebcdc5aa7496418e2d706c3c984cb2c1c7b51f54c
parent6e621958c65237ea8f5a2d1d05215365c9108d1d (diff)
downloadFreeBSD-ports-93d6d9afdab1ad87ba26fa87b8576d13ad6c159f.zip
FreeBSD-ports-93d6d9afdab1ad87ba26fa87b8576d13ad6c159f.tar.gz
Fix build on alpha
Notified by: kris
-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