Bug 183392

Summary: 'portmaster editors/libreoffice' does not work
Product: Ports & Packages Reporter: bsd
Component: Individual Port(s)Assignee: Jung-uk Kim <jkim>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description bsd 2013-10-28 11:40:00 UTC
'portmaster editors/libreoffice' does not work:

===>>> Currently installed version: libreoffice-4.0.5
===>>> Port directory: /usr/ports/editors/libreoffice

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for editors/libreoffice in background
===>>> Gathering dependency list for editors/libreoffice from ports
===>>> Launching child to install devel/mdds

===>>> libreoffice-4.0.5 >> devel/mdds (1/1)

===>>> Port directory: /usr/ports/devel/mdds

===>>> Launching 'make checksum' for devel/mdds in background
===>>> Gathering dependency list for devel/mdds from ports
===>>> No dependencies for devel/mdds

===>>> Continuing initial dependency check for editors/libreoffice
===>>> Launching child to update curl-7.32.0 to curl-7.33.0

===>>> libreoffice-4.0.5 >> curl-7.32.0 (2/2)

===>>> Currently installed version: curl-7.32.0
===>>> Port directory: /usr/ports/ftp/curl

===>>> Launching 'make checksum' for ftp/curl in background
===>>> Gathering dependency list for ftp/curl from ports
===>>> Launching child to update ca_root_nss-3.15.1_1 to ca_root_nss-3.15.2_1

===>>> libreoffice-4.0.5 >> curl-7.32.0 >> ca_root_nss-3.15.1_1 (3/3)

===>>> Currently installed version: ca_root_nss-3.15.1_1
===>>> Port directory: /usr/ports/security/ca_root_nss

===>>> Launching 'make checksum' for security/ca_root_nss in background
===>>> Gathering dependency list for security/ca_root_nss from ports
===>>> Initial dependency check complete for security/ca_root_nss

===>>> Continuing initial dependency check for ftp/curl
===>>> Initial dependency check complete for ftp/curl

===>>> Continuing initial dependency check for editors/libreoffice
===>>> Launching child to install lang/clang

===>>> libreoffice-4.0.5 >> lang/clang (4/4)

===>>> Port directory: /usr/ports/lang/clang

        ===>>> This port is marked DEPRECATED
        ===>>> Migrate to devel/clang32 or newer


        ===>>> If you are sure you can build it, remove the
               DEPRECATED line in the Makefile and try again.

===>>> Update for lang/clang failed
===>>> Aborting update

===>>> Killing background jobs

It should be noted I have clang33-3.3_2 installed.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-28 11:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->office

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jung-uk Kim freebsd_committer freebsd_triage 2013-10-28 18:04:43 UTC
Responsible Changed
From-To: office->jkim

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-10-28 23:18:33 UTC
Author: jkim
Date: Mon Oct 28 23:18:26 2013
New Revision: 331906
URL: http://svnweb.freebsd.org/changeset/ports/331906

Log:
  - Install manual pages.  This fixes staging support. [1]
  - Convert to "USES=compiler:c++11-lang" to fix build. [2]
  
  Reported by:	antoine [1]
  PR:		ports/183392 [2]

Modified:
  head/editors/libreoffice/Makefile

Modified: head/editors/libreoffice/Makefile
==============================================================================
--- head/editors/libreoffice/Makefile	Mon Oct 28 22:06:04 2013	(r331905)
+++ head/editors/libreoffice/Makefile	Mon Oct 28 23:18:26 2013	(r331906)
@@ -67,7 +67,7 @@ USE_PYTHON=	yes
 USE_QT4=	# empty but required
 USE_XORG=	xaw xrandr
 USE_XZ=		yes
-USES=		bison gmake perl5 pkgconfig
+USES=		bison compiler:c++11-lang gmake perl5 pkgconfig
 WANT_GNOME=	yes
 
 DISTFILES+=	${PORTNAME}-${LOVERSION}${EXTRACT_SUFX}
@@ -320,27 +320,12 @@ CONFIGURE_ARGS+=	--disable-neon
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_GCC)
-USE_GCC=	yes
-CONFIGURE_ENV+=	CXXCPP="${CPP}"
-.else
-.if exists(/usr/bin/clang) && ${OSVERSION} > 901502
-CC=		/usr/bin/clang
-CPP=		/usr/bin/clang-cpp
-CXX=		/usr/bin/clang++
-CONFIGURE_ENV+=	CXXCPP="${CPP}"
-.if ${OSVERSION} > 100054
-EXTRA_PATCHES+=	${FILESDIR}/extra-patch-libc++
-.endif
-.else
-# XXX Clang PR13308 (http://llvm.org/bugs/show_bug.cgi?id=13308)
-BUILD_DEPENDS+=	clang>=3.2_4:${PORTSDIR}/lang/clang
+.if ${CXX:M${LOCALBASE}/bin/clang++}
 USE_BINUTILS=	yes
-CC=		${LOCALBASE}/bin/clang
-CPP=		${CC} -E
-CXX=		${LOCALBASE}/bin/clang++
-CONFIGURE_ENV+=	CXXCPP="${CXX} -E"
 .endif
+
+.if ${COMPILER_FEATURES:Mlibc++}
+EXTRA_PATCHES+=	${FILESDIR}/extra-patch-libc++
 .endif
 
 .if ${OSVERSION} < 900506
@@ -374,7 +359,7 @@ do-install:
 	@cd ${LODESTDIR}${PREFIX} && ${FIND} -d lib/libreoffice -type d \
 	    -empty -exec ${ECHO_CMD} "@exec ${MKDIR} %D/{}" \; >> ${PLISTD}
 
-	@cd ${LODESTDIR}${PREFIX} && ${FIND} -H -s bin lib \
+	@cd ${LODESTDIR}${PREFIX} && ${FIND} -H -s bin lib man \
 	    \( -type f -o -type l \) -print >> ${PLISTF}
 	@cd ${LODESTDIR}${PREFIX} && ${FIND} -d lib/libreoffice -type d \
 	    -exec ${ECHO_CMD} "@dirrm {}" \; >> ${PLISTD}
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Jung-uk Kim freebsd_committer freebsd_triage 2013-10-28 23:19:55 UTC
State Changed
From-To: open->closed

This should be fixed in r331906.  Thanks!