summaryrefslogtreecommitdiffstats
path: root/palm/malsync
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2002-02-14 22:00:05 +0000
committerdirk <dirk@FreeBSD.org>2002-02-14 22:00:05 +0000
commitefe40ae85e990770748d0e0f7ea71a01d68ce98a (patch)
tree0987192669bd6c5d435169ae0644a566a4e27201 /palm/malsync
parent13bb6574510fb45d4cb6cd5fef97b3c6583ffd57 (diff)
downloadFreeBSD-ports-efe40ae85e990770748d0e0f7ea71a01d68ce98a.zip
FreeBSD-ports-efe40ae85e990770748d0e0f7ea71a01d68ce98a.tar.gz
Fix build after movement of pilot-link's library.
PR: ports/34191 Submitted by: Steve Wills <steve@stevenwills.com>
Diffstat (limited to 'palm/malsync')
-rw-r--r--palm/malsync/files/patch-aa15
1 files changed, 8 insertions, 7 deletions
diff --git a/palm/malsync/files/patch-aa b/palm/malsync/files/patch-aa
index 6b49d4d..227f35f 100644
--- a/palm/malsync/files/patch-aa
+++ b/palm/malsync/files/patch-aa
@@ -1,11 +1,11 @@
---- Makefile.orig Sun May 14 23:17:35 2000
-+++ Makefile Tue Jul 25 14:25:02 2000
+--- Makefile.orig Sun May 14 21:17:35 2000
++++ Makefile Mon Feb 11 19:30:47 2002
@@ -1,4 +1,3 @@
-CC = gcc
TARGET = malsync
PLAT := $(shell uname)
-@@ -12,9 +11,15 @@
+@@ -12,10 +11,16 @@
endif
TREETOP = ../../..
@@ -15,14 +15,16 @@
+DEFINES = -DMALSYNC
-CFLAGS = -Wall -g -DMALSYNC -I$(TREETOP)/mal/common \
+- -I$(TREETOP)/mal/client/common -I$(PILOT_LINK_DIR)/include -I.
+ifeq ($(PLAT),FreeBSD)
-+LINKFLAGS = -Wl,--rpath -Wl,$(PILOT_LINK_DIR)/lib
++LINKFLAGS = -Wl,--rpath -Wl,$(PREFIX)/lib
+endif
+
+CFLAGS += $(DEFINES) -I$(TREETOP)/mal/common \
- -I$(TREETOP)/mal/client/common -I$(PILOT_LINK_DIR)/include -I.
++ -I$(TREETOP)/mal/client/common -I$(PREFIX)/include -I.
+ SRC = malsync.c MAL31ServerConfig.c MAL31DBConfig.c MAL31UserConfig.c \
@@ -55,17 +60,12 @@
OBJS = $(SRC:.c=.o)
@@ -33,7 +35,7 @@
- $(CC) -rdynamic $(CFLAGS) -o $@ $(OBJS) \
- -L${PILOT_LINK_DIR}/libsock -lpisock $(LINKLIBS)
+ $(CC) $(CFLAGS) -o $@ $(OBJS) \
-+ -L${PILOT_LINK_DIR}/lib -lpisock $(LINKLIBS) $(LINKFLAGS)
++ -L${PREFIX}/lib -lpisock $(LINKLIBS) $(LINKFLAGS)
+
clean:
rm -f $(OBJS) $(TARGET)
@@ -44,4 +46,3 @@
-
-
-
-
OpenPOWER on IntegriCloud