FreeBSD Bugzilla – Attachment 151312 Details for
Bug 196456
converters/libb64: build shared library as well
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1.1
shared.diff (text/plain), 2.04 KB, created by
Jan Beich
on 2015-01-04 03:27:50 UTC
(
hide
)
Description:
v1.1
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2015-01-04 03:27:50 UTC
Size:
2.04 KB
patch
obsolete
>Index: converters/libb64/Makefile >=================================================================== >--- converters/libb64/Makefile (revision 376177) >+++ converters/libb64/Makefile (working copy) >@@ -19,6 +19,8 @@ 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) > @${MKDIR} ${STAGEDIR}${PREFIX}/include/b64 > ${INSTALL_DATA} ${WRKSRC}/include/b64/*.h ${STAGEDIR}${PREFIX}/include/b64 > >Index: converters/libb64/files/patch-shared-lib >=================================================================== >--- converters/libb64/files/patch-shared-lib (revision 0) >+++ converters/libb64/files/patch-shared-lib (working copy) >@@ -0,0 +1,25 @@ >+--- 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: converters/libb64/files/patch-shared-lib >___________________________________________________________________ >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: converters/libb64/pkg-plist >=================================================================== >--- converters/libb64/pkg-plist (revision 376177) >+++ converters/libb64/pkg-plist (working copy) >@@ -3,3 +3,5 @@ include/b64/cencode.h > include/b64/decode.h > include/b64/encode.h > lib/libb64.a >+lib/libb64.so >+lib/libb64.so.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 196456
:
151237
|
151238
|
151239
|
151240
| 151312