Bug 182234 - [MAINTAINER] textproc/libroxml: fix compatibility for fbsd 10
Summary: [MAINTAINER] textproc/libroxml: fix compatibility for fbsd 10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-19 20:30 UTC by Hung-Yi Chen
Modified: 2013-10-01 18:00 UTC (History)
0 users

See Also:


Attachments
textproc_libroxml.diff (1.10 KB, patch)
2013-09-19 20:30 UTC, Hung-Yi Chen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hung-Yi Chen 2013-09-19 20:30:00 UTC
	Fix compatibility for FreeBSD 10.0.
Comment 1 William Grzybowski freebsd_committer freebsd_triage 2013-09-19 20:49:49 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-10-01 17:50:01 UTC
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
_______________________________________________
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 3 William Grzybowski freebsd_committer freebsd_triage 2013-10-01 17:50:05 UTC
State Changed
From-To: open->closed

Committed. Thanks!