diff options
author | edwin <edwin@FreeBSD.org> | 2004-10-26 09:35:09 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-10-26 09:35:09 +0800 |
commit | 3474da462eebd3394b6555022b6daf3b8448d087 (patch) | |
tree | 6b91b5a739fcc7672a441f3e49868d429a18b376 /comms | |
parent | b774fe4799c7bf72a95e25351e0029849f1f7ed4 (diff) | |
download | freebsd-ports-gnome-3474da462eebd3394b6555022b6daf3b8448d087.tar.gz freebsd-ports-gnome-3474da462eebd3394b6555022b6daf3b8448d087.tar.zst freebsd-ports-gnome-3474da462eebd3394b6555022b6daf3b8448d087.zip |
[maintainer update] comms/gnokii update to 0.6.4
upgrade to 0.6.4 just released. Added a knob tolink smsd to glib2.
minor changes to the messages regarding smsd in pre-fetch.
PR: ports/72929
Submitted by: Guido Falsi <mad@madpilot.net>
Diffstat (limited to 'comms')
-rw-r--r-- | comms/gnokii/Makefile | 17 | ||||
-rw-r--r-- | comms/gnokii/distinfo | 4 | ||||
-rw-r--r-- | comms/gnokii/files/patch-smsd-Makefile | 12 | ||||
-rw-r--r-- | comms/gnokii/files/smsd-Makefile-WITH_GLIB.diff | 21 |
4 files changed, 45 insertions, 9 deletions
diff --git a/comms/gnokii/Makefile b/comms/gnokii/Makefile index b324374e071e..4421dbaee7c7 100644 --- a/comms/gnokii/Makefile +++ b/comms/gnokii/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gnokii -PORTVERSION= 0.6.3 +PORTVERSION= 0.6.4 PORTEPOCH= 1 CATEGORIES= comms MASTER_SITES= ${MASTER_SITE_SAVANNAH} \ @@ -68,8 +68,12 @@ WITH_PGSQL= yes .else PLIST_SUB+= PGM='@comment ' .endif +.if defined(SMSD_WITH_GLIB2) +USE_GNOME+= glib20 +.else USE_GNOME+= glib12 .endif +.endif .if defined(WITHOUT_X11) CONFIGURE_ARGS+= --without-x @@ -90,6 +94,7 @@ PLIST_SUB+= NLS="@comment " .endif pre-fetch: +.if !defined(WITH_SMSD) @${ECHO} @${ECHO} "If you plan using the smsd daemon for automatically receiving," @${ECHO} "managing and sending SMSes define WITH_SMSD=yes." @@ -98,6 +103,13 @@ pre-fetch: @${ECHO} "will be automatically compiled in. Normal file systems support is" @${ECHO} "always compiled in." @${ECHO} +.endif +.if !defined(SMSD_WITH_GLIB2) + @${ECHO} + @${ECHO} "smsd defaults to using glib1, if you'd rather link with glib2 + @${ECHO} "define SMSD_WITH_GLIB2=yes" + @${ECHO} +.endif post-patch: .for f in ${FIXPREFIX} @@ -114,6 +126,9 @@ post-patch: @${FIND} ${WRKSRC} -type f -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} \ -e 's|<stdint.h>|<inttypes.h>|' .endif +.if defined(SMSD_WITH_GLIB2) + @cd ${WRKSRC} && ${PATCH} -s <${PATCHDIR}/smsd-Makefile-WITH_GLIB.diff +.endif post-build: .if defined(WITH_SMSD) diff --git a/comms/gnokii/distinfo b/comms/gnokii/distinfo index 0543f7f4b600..5c519144edce 100644 --- a/comms/gnokii/distinfo +++ b/comms/gnokii/distinfo @@ -1,2 +1,2 @@ -MD5 (gnokii-0.6.3.tar.bz2) = 7e932688aeaa2ca8be2f2e3b3bf1b90e -SIZE (gnokii-0.6.3.tar.bz2) = 1824992 +MD5 (gnokii-0.6.4.tar.bz2) = e48e72b4038481509f32e2a7596dc2d5 +SIZE (gnokii-0.6.4.tar.bz2) = 2006834 diff --git a/comms/gnokii/files/patch-smsd-Makefile b/comms/gnokii/files/patch-smsd-Makefile index 4d4e7a5c73a9..8922796d7353 100644 --- a/comms/gnokii/files/patch-smsd-Makefile +++ b/comms/gnokii/files/patch-smsd-Makefile @@ -1,5 +1,5 @@ ---- smsd/Makefile.orig Fri Feb 13 18:58:38 2004 -+++ smsd/Makefile Fri Feb 13 19:02:30 2004 +--- smsd/Makefile.orig Wed Oct 20 17:24:58 2004 ++++ smsd/Makefile Wed Oct 20 17:25:10 2004 @@ -26,9 +26,9 @@ LDLIBS += $(PTHREAD_LIBS) \ $(shell $(GLIBLDLIBS)) @@ -7,8 +7,8 @@ -LDLIBS += -rdynamic $(TOPDIR)/common/libgnokii.la -ldl +# LDLIBS += -rdynamic $(TOPDIR)/common/libgnokii.la -ldl # Some systems, eg. FreeBSD don't have libdl. Use this: --# LDLIBS += -s -rdynamic -L$(TOPDIR)/common -lgnokii -+LDLIBS += -s -rdynamic -L$(TOPDIR)/common -lgnokii +-# LDLIBS += -s -rdynamic -L$(TOPDIR)/common -lgnokii -pthread -L../getopt -lgetopt ++LDLIBS += -s -rdynamic -L$(TOPDIR)/common -lgnokii -pthread - ifdef XPM_LIBS - LDLIBS +=$(XPM_LIBS) + OBJS = smsd.lo \ + lowlevel.lo diff --git a/comms/gnokii/files/smsd-Makefile-WITH_GLIB.diff b/comms/gnokii/files/smsd-Makefile-WITH_GLIB.diff new file mode 100644 index 000000000000..6a5b8fcd921a --- /dev/null +++ b/comms/gnokii/files/smsd-Makefile-WITH_GLIB.diff @@ -0,0 +1,21 @@ +--- smsd/Makefile.orig Wed Oct 20 17:26:17 2004 ++++ smsd/Makefile Wed Oct 20 17:26:25 2004 +@@ -6,14 +6,14 @@ + # $Id: Makefile,v 1.31 2004/08/03 09:29:09 ja Exp $ + # + +-GLIBCFLAGS = glib-config --cflags +-GLIBLDLIBS = glib-config --libs ++#GLIBCFLAGS = glib-config --cflags ++#GLIBLDLIBS = glib-config --libs + + # Comment out above lines and uncomment below lines if you want compile smsd + # with glib2 instead of glib1. + # +-#GLIBCFLAGS = pkg-config --cflags glib-2.0 +-#GLIBLDLIBS = pkg-config --libs glib-2.0 ++GLIBCFLAGS = pkg-config --cflags glib-2.0 ++GLIBLDLIBS = pkg-config --libs glib-2.0 + + TOPDIR=.. + include $(TOPDIR)/Makefile.global |