Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2010 02:04:46 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        Koop Mast <kwm@rainbow-runner.nl>
Cc:        gnome@FreeBSD.org, Norikatsu Shigemura <nork@FreeBSD.org>
Subject:   Re: [ports/net-im/libnice] Fix installation miss of nice.pc
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi kwm.

On Tue, 23 Nov 2010 23:10:28 +0900
Norikatsu Shigemura <nork@FreeBSD.org> 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 <bsd.port.mk>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

	Thank you.

-- 
Norikatsu Shigemura <nork@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101124020446.d4124458.nork>