aboutsummaryrefslogtreecommitdiffstats
path: root/palm/malsync/files
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2000-07-27 14:46:49 +0800
committerdirk <dirk@FreeBSD.org>2000-07-27 14:46:49 +0800
commitbd305d722a46e72be710b6bf05eff4dbf7e1d438 (patch)
tree1124dd840a506ac2ab3054ae56930a6c2ca5c224 /palm/malsync/files
parent13d51de1d6951f2d4601f940eda5028908adadbb (diff)
downloadfreebsd-ports-gnome-bd305d722a46e72be710b6bf05eff4dbf7e1d438.tar.gz
freebsd-ports-gnome-bd305d722a46e72be710b6bf05eff4dbf7e1d438.tar.zst
freebsd-ports-gnome-bd305d722a46e72be710b6bf05eff4dbf7e1d438.zip
Upgrade to 2.04.
Submitted by: roberto
Diffstat (limited to 'palm/malsync/files')
-rw-r--r--palm/malsync/files/patch-aa41
1 files changed, 19 insertions, 22 deletions
diff --git a/palm/malsync/files/patch-aa b/palm/malsync/files/patch-aa
index ae54dda55bbd..6b49d4dc49e2 100644
--- a/palm/malsync/files/patch-aa
+++ b/palm/malsync/files/patch-aa
@@ -1,50 +1,47 @@
---- Makefile.orig Wed Sep 22 01:48:40 1999
-+++ Makefile Tue Feb 22 21:13:18 2000
+--- Makefile.orig Sun May 14 23:17:35 2000
++++ Makefile Tue Jul 25 14:25:02 2000
@@ -1,4 +1,3 @@
-CC = gcc
TARGET = malsync
PLAT := $(shell uname)
-@@ -6,9 +5,14 @@
-
+@@ -12,9 +11,15 @@
+ endif
TREETOP = ../../..
-PILOT_LINK_DIR = $(TREETOP)/vendor/pilot/pilot-link.0.9.3
+PILOT_LINK_DIR = $(PREFIX)/pilot
++
++DEFINES = -DMALSYNC
- DEFINES = -DMALSYNC
-+
+-CFLAGS = -Wall -g -DMALSYNC -I$(TREETOP)/mal/common \
+ifeq ($(PLAT),FreeBSD)
+LINKFLAGS = -Wl,--rpath -Wl,$(PILOT_LINK_DIR)/lib
+endif
+
- ifeq ($(PLAT),Linux)
- DEFINES += -DHAVE_GETOPTLONG
- LINKFLAGS = -rdynamic
-@@ -21,7 +25,7 @@
-
- endif
-
--CFLAGS = -Wall -g $(DEFINES) -I$(TREETOP)/mal/common \
+CFLAGS += $(DEFINES) -I$(TREETOP)/mal/common \
-I$(TREETOP)/mal/client/common -I$(PILOT_LINK_DIR)/include -I.
-@@ -63,14 +67,13 @@
- OBJS = $(SRC:.c=.o)
+@@ -55,17 +60,12 @@
+ OBJS = $(SRC:.c=.o)
+all: $(TARGET)
-+
- $(TARGET): $(OBJS)
-- $(CC) $(CFLAGS) -o $@ $(OBJS) -L${PILOT_LINK_DIR}/libsock -lpisock $(LINKLIBS)
-+ $(CC) $(CFLAGS) -o $@ $(OBJS) -L${PILOT_LINK_DIR}/lib -lpisock $(LINKLIBS) $(LINKFLAGS)
+ $(TARGET): $(OBJS)
+- $(CC) -rdynamic $(CFLAGS) -o $@ $(OBJS) \
+- -L${PILOT_LINK_DIR}/libsock -lpisock $(LINKLIBS)
++ $(CC) $(CFLAGS) -o $@ $(OBJS) \
++ -L${PILOT_LINK_DIR}/lib -lpisock $(LINKLIBS) $(LINKFLAGS)
++
clean:
rm -f $(OBJS) $(TARGET)
-
-.c.o:
- gcc $(CFLAGS) -c -o $@ $<
-
-
+-
+-
+-
+-