diff options
Diffstat (limited to 'comms/malsync/patches/patch-aa')
-rw-r--r-- | comms/malsync/patches/patch-aa | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/comms/malsync/patches/patch-aa b/comms/malsync/patches/patch-aa new file mode 100644 index 00000000000..3ff0a52299f --- /dev/null +++ b/comms/malsync/patches/patch-aa @@ -0,0 +1,35 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/06/15 14:04:47 rh Exp $ + +--- Makefile.orig Sun May 14 23:17:35 2000 ++++ Makefile Thu Jun 15 15:54:24 2000 +@@ -1,4 +1,3 @@ +-CC = gcc + TARGET = malsync + + PLAT := $(shell uname) +@@ -12,9 +11,9 @@ + endif + + TREETOP = ../../.. +-PILOT_LINK_DIR = $(TREETOP)/vendor/pilot/pilot-link.0.9.3 ++PILOT_LINK_DIR = ${PREFIX} + +-CFLAGS = -Wall -g -DMALSYNC -I$(TREETOP)/mal/common \ ++CFLAGS+=-DMALSYNC -D__unix__ -I$(TREETOP)/mal/common \ + -I$(TREETOP)/mal/client/common -I$(PILOT_LINK_DIR)/include -I. + + +@@ -55,10 +54,12 @@ + + OBJS = $(SRC:.c=.o) + ++all: ${TARGET} ++ + + $(TARGET): $(OBJS) + $(CC) -rdynamic $(CFLAGS) -o $@ $(OBJS) \ +- -L${PILOT_LINK_DIR}/libsock -lpisock $(LINKLIBS) ++ -L${PILOT_LINK_DIR}/lib -Wl,-R${PILOT_LINK_DIR}/lib -lpisock $(LINKLIBS) + clean: + rm -f $(OBJS) $(TARGET) + |