aboutsummaryrefslogtreecommitdiff
path: root/comms/gnokii/files/patch-smsd-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/gnokii/files/patch-smsd-Makefile')
-rw-r--r--comms/gnokii/files/patch-smsd-Makefile36
1 files changed, 3 insertions, 33 deletions
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