FreeBSD Bugzilla – Attachment 171880 Details for
Bug 210635
devel/libdlna: fix build in presence of itself
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
libdlna.patch (text/plain), 1.89 KB, created by
Dmitry Marakasov
on 2016-06-27 18:53:00 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2016-06-27 18:53:00 UTC
Size:
1.89 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 417673) >+++ Makefile (working copy) >@@ -11,10 +11,13 @@ > MAINTAINER= malus.x@gmail.com > COMMENT= Reference DLNA open-source implementation > >-LIB_DEPENDS+= libavcodec.so:multimedia/ffmpeg >+LICENSE= LGPL21+ >+LICENSE_FILE= ${WRKSRC}/COPYING > >+LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg >+ > HAS_CONFIGURE= yes >-USES= tar:bzip2 gmake pkgconfig >+USES= gmake localbase pkgconfig tar:bzip2 > USE_LDCONFIG= yes > MAKE_JOBS_UNSAFE= yes > >@@ -22,12 +25,7 @@ > --includedir="${PREFIX}/include" \ > --libdir="${PREFIX}/lib" > >-CFLAGS+= -I${LOCALBASE}/include >-LDFLAGS+= -L${LOCALBASE}/lib >+post-install: >+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdlna.so > >-post-patch: >- @${REINPLACE_CMD} -e \ >- 's#\(PKGCONFIG_DIR = \).*#\1${STAGEDIR}${PREFIX}/libdata/pkgconfig#' \ >- ${WRKSRC}/Makefile >- > .include <bsd.port.mk> >Index: files/patch-Makefile >=================================================================== >--- files/patch-Makefile (nonexistent) >+++ files/patch-Makefile (working copy) >@@ -0,0 +1,20 @@ >+--- Makefile.orig 2007-11-26 20:47:43 UTC >++++ Makefile >+@@ -4,7 +4,7 @@ endif >+ include config.mak >+ >+ DISTFILE = libdlna-$(VERSION).tar.bz2 >+-PKGCONFIG_DIR = $(libdir)/pkgconfig >++PKGCONFIG_DIR = $(prefix)/libdata/pkgconfig >+ PKGCONFIG_FILE = libdlna.pc >+ >+ LIBTEST = test-libdlna >+@@ -19,7 +19,7 @@ EXTRADIST = AUTHORS \ >+ SUBDIRS = src \ >+ >+ CFLAGS += -Isrc >+-LDFLAGS += -Lsrc -ldlna >++LDFLAGS := -Lsrc -ldlna ${LDFLAGS} >+ >+ ifeq ($(BUILD_STATIC),yes) >+ LDFLAGS += $(EXTRALIBS) > >Property changes on: files/patch-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
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 210635
: 171880