From owner-freebsd-gnome@FreeBSD.ORG Tue Nov 23 17:04:53 2010 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id CC942106564A; Tue, 23 Nov 2010 17:04:52 +0000 (UTC) (envelope-from nork@FreeBSD.org) Date: Wed, 24 Nov 2010 02:04:46 +0900 From: Norikatsu Shigemura To: Koop Mast Message-Id: <20101124020446.d4124458.nork@FreeBSD.org> In-Reply-To: <20101123231028.38beb74b.nork@FreeBSD.org> References: <20101123180404.ea865e0e.nork@FreeBSD.org> <20101123135948.1420ebe0@headache.rainbow-runner.nl> <20101123231028.38beb74b.nork@FreeBSD.org> X-Mailer: Sylpheed 3.0.3 (GTK+ 2.20.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: gnome@FreeBSD.org, Norikatsu Shigemura Subject: Re: [ports/net-im/libnice] Fix installation miss of nice.pc X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2010 17:04:53 -0000 Hi kwm. On Tue, 23 Nov 2010 23:10:28 +0900 Norikatsu Shigemura wrote: > I'll try to investigate this behavior. If you have any idea, > please teach me. Ok, I got. Replacement of common.mk is too late. Makefile.in should be faster than its dependencies like common.mk. So I suggest to be it on pre-patch. I confirmed not override of pkgconfidir. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -urN libnice.orig/Makefile libnice/Makefile --- libnice.orig/Makefile 2010-07-25 09:25:58.000000000 +0900 +++ libnice/Makefile 2010-11-24 01:54:01.719977808 +0900 @@ -22,6 +22,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_GETIFADDRS" \ LDFLAGS="-L${LOCALBASE}/lib" +pre-patch: + @${REINPLACE_CMD} -e 's|-Wno-missing-field-initializers|#|g' \ + ${WRKSRC}/common.mk + post-patch: @${REINPLACE_CMD} -e 's|__BYTE_ORDER|_BYTE_ORDER|g ; \ s|__BIG_ENDIAN|_BIG_ENDIAN|g' \ @@ -29,7 +33,5 @@ ${WRKSRC}/stun/sha1.c @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|-Wno-missing-field-initializers|#|g' - @${REINPLACE_CMD} -e 's|-Wno-missing-field-initializers|#|g' \ - ${WRKSRC}/common.mk .include - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Thank you. -- Norikatsu Shigemura