aboutsummaryrefslogtreecommitdiff
path: root/comms/gnokii/files
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2004-01-09 15:57:18 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2004-01-09 15:57:18 +0000
commit4f86b431f0fa89d3cf9a14bac36c1d7554c8001f (patch)
treeac455f0c31b51c89c0629db2d858e755a863a98b /comms/gnokii/files
parent895e6141da353bc60f8c0c02838f73ed250c78e2 (diff)
downloadports-4f86b431f0fa89d3cf9a14bac36c1d7554c8001f.tar.gz
ports-4f86b431f0fa89d3cf9a14bac36c1d7554c8001f.zip
Notes
Diffstat (limited to 'comms/gnokii/files')
-rw-r--r--comms/gnokii/files/patch-common-Makefile40
-rw-r--r--comms/gnokii/files/patch-gnokiirc4
-rw-r--r--comms/gnokii/files/patch-smsd-Makefile36
3 files changed, 13 insertions, 67 deletions
diff --git a/comms/gnokii/files/patch-common-Makefile b/comms/gnokii/files/patch-common-Makefile
index cb3429e49f99..00c0c733f254 100644
--- a/comms/gnokii/files/patch-common-Makefile
+++ b/comms/gnokii/files/patch-common-Makefile
@@ -1,31 +1,7 @@
---- common/Makefile.orig Sat Nov 8 12:15:34 2003
-+++ common/Makefile Wed Dec 3 21:35:14 2003
-@@ -44,13 +44,10 @@
- snprintf.o
-
- ifndef WIN32_CROSS
--ifdef NO_SHARED
--GNOKII_LIB=libgnokii.a
--else
-+GNOKII_LIBNOSHARED=libgnokii.a
- GNOKII_LIB =libgnokii.so
- GNOKII_LIBM =$(GNOKII_LIB).$(MAJOR_NUMBER)
- GNOKII_LIBMM=$(GNOKII_LIBM).$(MINOR_NUMBER)
--endif
- else
- ifdef NO_SHARED
- GNOKII_LIB=gnokii.lib
-@@ -59,7 +56,7 @@
- endif
- endif
-
--all: $(GNOKII_LIB)
-+all: $(GNOKII_LIB) $(GNOKII_LIBNOSHARED)
-
- phones/PHONES.o:
- $(MAKE) -C phones PHONES.o
-@@ -74,8 +71,7 @@
- $(CC) -o gnokii-debug $(OBJS) phones/PHONES.o links/LINKS.o devices/DEVICES.o ../gnokii/gnokii.o
+--- common/Makefile.orig Thu Jan 8 14:46:16 2004
++++ common/Makefile Thu Jan 8 15:12:15 2004
+@@ -73,8 +73,7 @@
+ $(CC) -o gnokii-debug $(LIBS) $(XPM_LIBS) $(OBJS) phones/PHONES.o links/LINKS.o devices/DEVICES.o ../gnokii/gnokii.o
libgnokii.so: $(OBJS) phones/PHONES.o links/LINKS.o devices/DEVICES.o
- $(CC) -shared -Wl,-soname,$(GNOKII_LIBM) -o $(GNOKII_LIBMM) $(OBJS) phones/PHONES.o links/LINKS.o devices/DEVICES.o
@@ -34,15 +10,15 @@
ln -sf $(GNOKII_LIBM) $(GNOKII_LIB)
libgnokii.a: $(OBJS) phones/PHONES.o links/LINKS.o devices/DEVICES.o
-@@ -102,11 +98,11 @@
-
- install:
+@@ -103,12 +102,11 @@
$(INSTALL) -d $(DESTDIR)$(libdir)
+ $(INSTALL) $(GNOKII_STATIC) $(DESTDIR)$(libdir)
+ ifndef NO_SHARED
- $(INSTALL) $(GNOKII_LIBMM) $(DESTDIR)$(libdir)
- cd $(DESTDIR)$(libdir) && ln -sf $(GNOKII_LIBMM) $(GNOKII_LIBM)
+ $(INSTALL) $(GNOKII_LIBM) $(DESTDIR)$(libdir)
-+ $(INSTALL) $(GNOKII_LIBNOSHARED) $(DESTDIR)$(libdir)
cd $(DESTDIR)$(libdir) && ln -sf $(GNOKII_LIBM) $(GNOKII_LIB)
+ endif
- $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
- $(INSTALL_DATA) gnokii.pc $(DESTDIR)$(libdir)/pkgconfig
+ $(INSTALL) -d $(DESTDIR)$(prefix)/libdata/pkgconfig
diff --git a/comms/gnokii/files/patch-gnokiirc b/comms/gnokii/files/patch-gnokiirc
index 0f38b9603175..14fda694b287 100644
--- a/comms/gnokii/files/patch-gnokiirc
+++ b/comms/gnokii/files/patch-gnokiirc
@@ -1,5 +1,5 @@
---- Docs/sample/gnokiirc.orig Tue May 20 20:31:08 2003
-+++ Docs/sample/gnokiirc Tue May 20 20:32:23 2003
+--- Docs/sample/gnokiirc.orig Thu Jan 8 15:16:55 2004
++++ Docs/sample/gnokiirc Thu Jan 8 15:17:40 2004
@@ -6,7 +6,7 @@
# Set port to the physical serial port used to connect to your phone.
diff --git a/comms/gnokii/files/patch-smsd-Makefile b/comms/gnokii/files/patch-smsd-Makefile
index 6972f77a5f89..1f4f74924d4b 100644
--- a/comms/gnokii/files/patch-smsd-Makefile
+++ b/comms/gnokii/files/patch-smsd-Makefile
@@ -1,11 +1,11 @@
---- smsd/Makefile.orig Fri Oct 10 22:38:59 2003
-+++ smsd/Makefile Fri Oct 10 22:41:33 2003
+--- smsd/Makefile.orig Thu Jan 8 15:21:13 2004
++++ smsd/Makefile Thu Jan 8 15:24:58 2004
@@ -21,14 +21,14 @@
SMSD_MAN=man/smsd.8
CFLAGS += -DMODULES_DIR=\"${libdir}/smsd\" $(PTHREAD_CFLAGS) \
- $(shell $(GLIBCFLAGS))
-+ $(shell $(GLIBCFLAGS)) -I$(LOCALBASE)/include `glib-config --cflags`
++ $(shell $(GLIBCFLAGS)) -I$(LOCALBASE)/include
LDLIBS += $(PTHREAD_LIBS) \
$(shell $(GLIBLDLIBS))
@@ -18,33 +18,3 @@
ifdef XPM_LIBS
LDLIBS +=$(XPM_LIBS)
-@@ -41,7 +41,7 @@
-
-
- smsd: $(OBJS) $(TOPDIR)/common/libgnokii.so
-- gcc $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
-+ $(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
-
-
- ### DB Modules
-@@ -50,17 +50,17 @@
-
- # PostgreSQL support
- libpq.so: smsd.h pq.c
-- gcc -s -shared -o libpq.so $(CFLAGS) -I../include \
-+ $(CC) -s -shared -o libpq.so $(CFLAGS) -I../include \
- -I/usr/include/pgsql pq.c $(shell $(GLIBLDLIBS)) -lpq
-
- # MySQL support
- libmysql.so: smsd.h mysql.c
-- gcc -s -shared -o libmysql.so $(CFLAGS) -I../include \
-+ $(CC) -s -shared -o libmysql.so $(CFLAGS) -I../include \
- $(shell mysql_config --cflags) mysql.c $(shell $(GLIBLDLIBS)) $(shell mysql_config --libs)
-
- # File support
- libfile.so: smsd.h file.c
-- gcc -s -shared -o libfile.so $(CFLAGS) -I../include \
-+ $(CC) -s -shared -o libfile.so $(CFLAGS) -I../include \
- file.c $(shell $(GLIBLDLIBS))
-
- ### End of DB Modules