Index: head/converters/libb64/Makefile =================================================================== --- head/converters/libb64/Makefile (revision 395944) +++ head/converters/libb64/Makefile (revision 395945) @@ -1,27 +1,26 @@ # Created by: Ismail Yenigul # $FreeBSD$ PORTNAME= libb64 PORTVERSION= 1.2.1 CATEGORIES= converters mail MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME} MAINTAINER= ismail.yenigul@surgate.com -COMMENT= Library of ANSI C routines for fast encoding/decoding data +COMMENT= Library for fast Base64 encoding and decoding BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend USES= gmake zip ALL_TARGET= all_src USE_LDCONFIG= yes -BROKEN_powerpc= Does not compile on powerpc - do-install: ${INSTALL_DATA} ${WRKSRC}/src/libb64.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKSRC}/src/libb64.so.0 ${STAGEDIR}${PREFIX}/lib - (cd ${STAGEDIR}${PREFIX}/lib && ${LN} -fs libb64.so.0 libb64.so) + ${LN} -fs libb64.so.0 ${STAGEDIR}${PREFIX}/lib/libb64.so @${MKDIR} ${STAGEDIR}${PREFIX}/include/b64 - ${INSTALL_DATA} ${WRKSRC}/include/b64/*.h ${STAGEDIR}${PREFIX}/include/b64 + ${INSTALL_DATA} ${WRKSRC}/include/b64/*.h \ + ${STAGEDIR}${PREFIX}/include/b64 .include Index: head/converters/libb64/files/patch-shared-lib =================================================================== --- head/converters/libb64/files/patch-shared-lib (revision 395944) +++ head/converters/libb64/files/patch-shared-lib (nonexistent) @@ -1,25 +0,0 @@ ---- src/Makefile~ -+++ src/Makefile -@@ -1,4 +1,5 @@ --LIBRARIES = libb64.a -+LIBRARIES = libb64.a libb64.so -+SOVERSION ?= 0 - - # Build flags (uncomment one) - ############################# -@@ -27,6 +28,15 @@ all: $(TARGETS) #strip - libb64.a: cencode.o cdecode.o - $(AR) $(ARFLAGS) $@ $^ - -+libb64.so.$(SOVERSION): cencode.So cdecode.So -+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,$@ -o $@ $^ -+ -+%.So: %.c -+ $(CC) -fPIC -c $(CFLAGS) $(CPPFLAGS) $< -o $@ -+ -+%.so: %.so.$(SOVERSION) -+ ln -fs $< $@ -+ - strip: - strip $(BINARIES) *.exe - Property changes on: head/converters/libb64/files/patch-shared-lib ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/converters/libb64/files/patch-src_Makefile =================================================================== --- head/converters/libb64/files/patch-src_Makefile (nonexistent) +++ head/converters/libb64/files/patch-src_Makefile (revision 395945) @@ -0,0 +1,40 @@ +--- src/Makefile.orig 2013-06-18 12:49:36 UTC ++++ src/Makefile +@@ -1,9 +1,10 @@ +-LIBRARIES = libb64.a ++LIBRARIES = libb64.a libb64.so ++SOVERSION ?= 0 + + # Build flags (uncomment one) + ############################# + # Release build flags +-CFLAGS += -O3 ++#CFLAGS += -O3 + ############################# + # Debug build flags + #CFLAGS += -g +@@ -15,7 +16,7 @@ TARGETS = $(LIBRARIES) + + LINK.o = gcc + +-CFLAGS += -Werror -pedantic ++CFLAGS += -Werror -pedantic -fsigned-char + CFLAGS += -I../include + + vpath %.h ../include/b64 +@@ -27,6 +28,15 @@ all: $(TARGETS) #strip + libb64.a: cencode.o cdecode.o + $(AR) $(ARFLAGS) $@ $^ + ++libb64.so.$(SOVERSION): cencode.So cdecode.So ++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,$@ -o $@ $^ ++ ++%.So: %.c ++ $(CC) -fPIC -c $(CFLAGS) $(CPPFLAGS) $< -o $@ ++ ++%.so: %.so.$(SOVERSION) ++ ln -fs $< $@ ++ + strip: + strip $(BINARIES) *.exe + Property changes on: head/converters/libb64/files/patch-src_Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/converters/libb64/pkg-descr =================================================================== --- head/converters/libb64/pkg-descr (revision 395944) +++ head/converters/libb64/pkg-descr (revision 395945) @@ -1,10 +1,9 @@ -libb64 is a library of ANSI C routines for fast encoding/decoding data -into and from a base64-encoded format. -C++ wrappers are included, as well as the source code for -standalone encoding and decoding executables. +libb64 is a library of ANSI C routines for fast encoding/decoding of data +into and from a Base64-encoded format. C++ wrappers are included, as well +as the source code for standalone encoding and decoding executables. -Base64 uses a subset of displayable ASCII characters, and is -therefore a useful encoding for storing binary data in a text file, -such as XML, or sending binary data over text-only email. +Base64 uses a subset of displayable ASCII characters, and is therefore a +useful encoding for storing binary data in a text file, such as XML, or +sending binary data over text-only communication channels. -WWW: http://libb64.sourceforge.net +WWW: http://libb64.sourceforge.net/