FreeBSD Bugzilla – Attachment 78850 Details for
Bug 113350
[PATCH] devel/elfio: build dynamic library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
elfio-1.0.3_2.patch
elfio-1.0.3_2.patch (text/plain), 1.67 KB, created by
Marcin Cieslak
on 2007-06-05 02:30:01 UTC
(
hide
)
Description:
elfio-1.0.3_2.patch
Filename:
MIME Type:
Creator:
Marcin Cieslak
Created:
2007-06-05 02:30:01 UTC
Size:
1.67 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /usr/home/ncvs/ports/devel/elfio/Makefile,v >retrieving revision 1.10 >diff -u -u -r1.10 Makefile >--- Makefile 27 Mar 2007 22:11:54 -0000 1.10 >+++ Makefile 5 Jun 2007 01:19:44 -0000 >@@ -8,7 +8,7 @@ > > PORTNAME= elfio > PORTVERSION= 1.0.3 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= devel > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >@@ -19,6 +19,7 @@ > > GNU_CONFIGURE= yes > USE_GNOME= gnometarget >+USE_LDCONFIG= yes > > OPTIONS= EXAMPLES "Install sample programms" on > >@@ -26,13 +27,24 @@ > > .include <bsd.port.pre.mk> > >+PLIST_SUB+= SHLIB_VER=${SHLIB_VER} > .if !defined(WITHOUT_EXAMPLES) > PLIST_SUB+= EXAMPLES="" > .else > PLIST_SUB+= EXAMPLES="@comment " > .endif > >+CFLAGS+= -fPIC >+SHLIB_VER= 0 >+ >+post-build: >+ (cd ${WRKSRC}/ELFIO; ${CC} -shared -o libELFIO.so.${SHLIB_VER} *.o) >+ > post-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/ELFIO/libELFIO.so.${SHLIB_VER} \ >+ ${PREFIX}/lib/libELFIO.so.${SHLIB_VER} >+ cd ${PREFIX}/lib && \ >+ ${LN} -sf libELFIO.so.${SHLIB_VER} libELFIO.so > .if !defined(NOPORTDOCS) > @${MKDIR} ${DOCSDIR} > .for file in AUTHORS ChangeLog README >Index: pkg-plist >=================================================================== >RCS file: /usr/home/ncvs/ports/devel/elfio/pkg-plist,v >retrieving revision 1.4 >diff -u -u -r1.4 pkg-plist >--- pkg-plist 21 Jul 2006 21:12:37 -0000 1.4 >+++ pkg-plist 4 Jun 2007 23:36:12 -0000 >@@ -4,6 +4,8 @@ > include/ELFO.h > include/ELFTypes.h > lib/libELFIO.a >+lib/libELFIO.so.%%SHLIB_VER%% >+lib/libELFIO.so > %%EXAMPLES%%%%EXAMPLESDIR%%/ELFDump.cpp > %%EXAMPLES%%%%EXAMPLESDIR%%/RelocationTable.cpp > %%EXAMPLES%%%%EXAMPLESDIR%%/Write.cpp
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 113350
: 78850