Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2013 16:49:54 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328967 - in head/textproc/libroxml: . files
Message-ID:  <201310011649.r91GnsjH068869@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Tue Oct  1 16:49:54 2013
New Revision: 328967
URL: http://svnweb.freebsd.org/changeset/ports/328967

Log:
  textproc/libroxml: fix build on head
  
  - Fix build on head [1]
  - Allow staging
  - Remove leading article from COMMENT
  - USES gmake
  
  PR:		ports/182234 [1]
  Submitted by:	Hung-Yi Chen <gaod hychen.org> (maintainer) [1]

Modified:
  head/textproc/libroxml/Makefile
  head/textproc/libroxml/files/patch-Makefile

Modified: head/textproc/libroxml/Makefile
==============================================================================
--- head/textproc/libroxml/Makefile	Tue Oct  1 16:36:24 2013	(r328966)
+++ head/textproc/libroxml/Makefile	Tue Oct  1 16:49:54 2013	(r328967)
@@ -3,30 +3,31 @@
 
 PORTNAME=	libroxml
 PORTVERSION=	2.2.2
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	GOOGLE_CODE
 
 MAINTAINER=	gaod@hychen.org
-COMMENT=	A minimum, easy-to-use, C implementation for xml file parsing
+COMMENT=	Minimum, easy-to-use, C implementation for xml file parsing
 
 LICENSE=	LGPL21
 
 PROJECTHOST=	libroxml
 
-USE_GMAKE=	yes
-MAKE_ENV+=	DESTDIR=${PREFIX}
+USES=		gmake
+# Workaround overwriting DESTDIR var
+DESTDIRNAME=	NONE
+MAKE_ARGS=	DESTDIR=${STAGEDIR}${PREFIX}
 USE_LDCONFIG=	yes
 
-MAN1=		roxml.1
-
 PLIST_FILES=	bin/roxml \
 		lib/libroxml.so \
 		lib/libroxml.so.0 \
 		lib/libroxml.a \
 		include/roxml.h \
-		libdata/pkgconfig/libroxml.pc
+		libdata/pkgconfig/libroxml.pc \
+		man/man1/roxml.1.gz
 
-NO_STAGE=	yes
 pre-build:
 	@cd ${WRKSRC} && ${GMAKE} clean
 

Modified: head/textproc/libroxml/files/patch-Makefile
==============================================================================
--- head/textproc/libroxml/files/patch-Makefile	Tue Oct  1 16:36:24 2013	(r328966)
+++ head/textproc/libroxml/files/patch-Makefile	Tue Oct  1 16:49:54 2013	(r328967)
@@ -1,9 +1,17 @@
---- Makefile.orig	2012-08-07 05:07:01.000000000 +0800
-+++ Makefile	2012-08-07 05:12:48.000000000 +0800
+--- Makefile.orig	2013-06-07 22:26:58.000000000 +0000
++++ Makefile	2013-09-19 18:58:18.000000000 +0000
+@@ -44,7 +44,7 @@
+ 
+ # options
+ override CPPFLAGS += -Iinc/
+-override CFLAGS += $(OPTIM) -fPIC -Wall -Wextra -Wno-unused -Werror -Iinc/ $(DEFINES)
++override CFLAGS += $(OPTIM) -fPIC -Wall -Wextra -Wno-unused -Iinc/ $(DEFINES)
+ override LDFLAGS += 
+ 
+ ifeq ("$(OS)", "Darwin")
 @@ -149,24 +149,16 @@
  	$E - $(MAKE) -C $(abspath fuse.xml)
- 
- .PHONY: install
+  .PHONY: install
 -install: $(TARGETS) doxy
 -	$P '  INSTALL DIRS'
 -	$E mkdir -p $(DESTDIR)/usr/bin



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