Bug 184875 - x11-servers/x2x: Support CC/CFLAGS properly
Summary: x11-servers/x2x: Support CC/CFLAGS properly
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: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-16 18:10 UTC by tkato432
Modified: 2013-12-20 18:50 UTC (History)
0 users

See Also:


Attachments
file.diff (1.40 KB, patch)
2013-12-16 18:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-12-16 18:10:20 UTC
- Support CC/CFLAGS properly
- Update MASTER_SITES

Remove file:
files/patch-aa
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2013-12-20 18:36:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-12-20 18:42:04 UTC
Author: pawel
Date: Fri Dec 20 18:41:56 2013
New Revision: 337067
URL: http://svnweb.freebsd.org/changeset/ports/337067

Log:
  - Support CC/CFLAGS properly
  - Update MASTER_SITES
  - Port supports staging
  
  PR:		ports/184875
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Deleted:
  head/x11-servers/x2x/files/
Modified:
  head/x11-servers/x2x/Makefile   (contents, props changed)

Modified: head/x11-servers/x2x/Makefile
==============================================================================
--- head/x11-servers/x2x/Makefile	Fri Dec 20 18:41:37 2013	(r337066)
+++ head/x11-servers/x2x/Makefile	Fri Dec 20 18:41:56 2013	(r337067)
@@ -3,17 +3,30 @@
 
 PORTNAME=	x2x
 PORTVERSION=	1.27
-PORTREVISION=	3
 CATEGORIES=	x11-servers
-MASTER_SITES=	http://cloud.github.com/downloads/dottedmag/x2x/
+MASTER_SITES=	GHC
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Program to link multiple X servers together
 
+LICENSE=	MIT
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	dottedmag
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
 USES=		imake
 USE_XORG=	x11 xext xtst
-MAN1=		x2x.1
-PLIST_FILES=	bin/x2x
 
-NO_STAGE=	yes
+PLIST_FILES=	bin/x2x man/man1/x2x.1.gz
+
+post-extract:
+	@${LN} -sf x2x.1 ${WRKSRC}/x2x.man
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		'/CC =/s|^|XCOMM| ; \
+		 /CDEBUGFLAGS =/s|^|XCOMM|' ${WRKSRC}/Imakefile
+
 .include <bsd.port.mk>
_______________________________________________
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 Pawel Pekala freebsd_committer freebsd_triage 2013-12-20 18:42:11 UTC
State Changed
From-To: open->closed

Committed. Thanks!