Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2012 13:39:02 +0900
From:      Takefu <takefu@airport.fm>
To:        freebsd-gnats-submit@FreeBSD.org
Cc:        lev@FreeBSD.org
Subject:   ports/164428: [PATCH] www/neon29: CLANG build fails
Message-ID:  <4F1E35E6.9010407@airport.fm>
Resent-Message-ID: <201201240440.q0O4e54N062403@freefall.freebsd.org>
In-Reply-To: <201201240432.q0O4WIWD040255@unbound.local.ae-osaka.co.jp>
References:  <201201240432.q0O4WIWD040255@unbound.local.ae-osaka.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
	Note: There was a bad value `patch' for the field `>Class:'.
	It was set to the default value of `sw-bug'.


>Number:         164428
>Category:       ports
>Synopsis:       [PATCH] www/neon29: CLANG build fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 24 04:40:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Takefu
>Release:        FreeBSD 8.2-RELEASE-p5 amd64
>Organization:
FOX Amateur Radio Club
>Environment:
>Description:
- fix CLANG build fails

Port maintainer (lev@FreeBSD.org) is cc'd.
>How-To-Repeat:
>Fix:
--- neon29.patch begins here ---
diff -ruN /usr/ports/www/neon29/files/patch-Makefile.in www/neon29/files/patch-Makefile.in
--- /usr/ports/www/neon29/files/patch-Makefile.in	2007-03-16 19:03:10.000000000 +0900
+++ www/neon29/files/patch-Makefile.in	2012-01-04 14:55:55.000000000 +0900
@@ -1,15 +1,15 @@
---- Makefile.in.orig	Wed Feb  7 15:53:29 2007
-+++ Makefile.in	Wed Feb  7 16:34:12 2007
-@@ -21,7 +21,7 @@
- man1dir = $(mandir)/man1
+--- Makefile.in.orig	2009-09-04 16:36:26.000000000 +0900
++++ Makefile.in	2012-01-04 14:55:40.000000000 +0900
+@@ -22,7 +22,7 @@
  man3dir = $(mandir)/man3
+ datarootdir = @datarootdir@
  datadir = @datadir@
 -docdir = $(datadir)/doc/neon-@NEON_VERSION@
 +docdir = $(datadir)/doc/neon
  includedir = @includedir@
  neonincludes = $(includedir)/neon
- pkgconfigdir = $(prefix)/libdata/pkgconfig
-@@ -147,7 +147,7 @@
+ pkgconfigdir = $(libdir)/pkgconfig
+@@ -149,12 +149,12 @@
  	@echo "ERROR: purposes only; this copy of neon must not be installed."
  	@false

@@ -18,3 +18,9 @@

  # libtool does all the necessary magic here
  install-lib: subdirs
+ 	$(INSTALL) -d $(DESTDIR)$(libdir)
+-	$(LIBTOOL) --mode=install $(INSTALL) src/libneon.la \
++	$(LIBTOOL) --tag=CC --mode=install $(INSTALL) src/libneon.la \
+ 		$(DESTDIR)$(libdir)/libneon.la
+
+ install-headers:
diff -ruN /usr/ports/www/neon29/files/patch-src_configure.in www/neon29/files/patch-src_configure.in
--- /usr/ports/www/neon29/files/patch-src_configure.in	1970-01-01 09:00:00.000000000 +0900
+++ www/neon29/files/patch-src_configure.in	2012-01-04 14:53:43.000000000 +0900
@@ -0,0 +1,13 @@
+--- src/Makefile.in.orig	2009-09-01 23:56:18.000000000 +0900
++++ src/Makefile.in	2012-01-04 14:53:22.000000000 +0900
+@@ -33,8 +33,8 @@
+ LIBS = @NEON_LIBS@ @NEON_LTLIBS@
+
+ COMPILE = $(CC) $(CPPFLAGS) $(CFLAGS)
+-LT_COMPILE = $(LIBTOOL) --quiet --mode=compile $(COMPILE)
+-LINK = $(LIBTOOL) --quiet --mode=link $(CC) -no-undefined $(LDFLAGS)
++LT_COMPILE = $(LIBTOOL) --tag=CC --quiet --mode=compile $(COMPILE)
++LINK = $(LIBTOOL) --tag=CC --quiet --mode=link $(CC) -no-undefined $(LDFLAGS)
+
+ NEON_BASEOBJS = ne_request.@NEON_OBJEXT@ ne_session.@NEON_OBJEXT@	\
+ 	ne_basic.@NEON_OBJEXT@ ne_string.@NEON_OBJEXT@			\
--- neon29.patch ends here --
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F1E35E6.9010407>