Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2014 03:29:15 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356970 - in head/games/xchadance: . files
Message-ID:  <201406080329.s583TF6p099526@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sun Jun  8 03:29:15 2014
New Revision: 356970
URL: http://svnweb.freebsd.org/changeset/ports/356970
QAT: https://qat.redports.org/buildarchive/r356970/

Log:
  1: Stagify.
  2: fix compile with clang.

Modified:
  head/games/xchadance/Makefile
  head/games/xchadance/files/patch-aa

Modified: head/games/xchadance/Makefile
==============================================================================
--- head/games/xchadance/Makefile	Sun Jun  8 03:25:44 2014	(r356969)
+++ head/games/xchadance/Makefile	Sun Jun  8 03:29:15 2014	(r356970)
@@ -18,16 +18,15 @@ NO_WRKSUBDIR=	yes
 
 RESTRICTED=	'contains commercial character data'
 
-NO_STAGE=	yes
 post-patch:
 	@cd ${WRKSRC}; \
 	${PATCH} < ${WRKSRC}/xchada01.bug
 
 post-install:
 .if !defined(NOPORTOCS)
-	@${MKDIR} ${PREFIX}/share/doc/xchadance
-	@${INSTALL_DATA} ${WRKSRC}/README.jp ${PREFIX}/share/doc/xchadance
-	@${INSTALL_DATA} ${WRKSRC}/README.eng ${PREFIX}/share/doc/xchadance
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/xchadance
+	@${INSTALL_DATA} ${WRKSRC}/README.jp ${STAGEDIR}${PREFIX}/share/doc/xchadance
+	@${INSTALL_DATA} ${WRKSRC}/README.eng ${STAGEDIR}${PREFIX}/share/doc/xchadance
 .endif
 
 .include <bsd.port.mk>

Modified: head/games/xchadance/files/patch-aa
==============================================================================
--- head/games/xchadance/files/patch-aa	Sun Jun  8 03:25:44 2014	(r356969)
+++ head/games/xchadance/files/patch-aa	Sun Jun  8 03:29:15 2014	(r356970)
@@ -1,21 +1,22 @@
---- makefile.orig	Mon Mar  7 07:10:46 1994
-+++ makefile	Sun Jun 20 15:11:51 1999
+--- makefile.orig	1994-03-07 21:10:46.000000000 +0800
++++ makefile	2014-06-08 11:28:02.677008487 +0800
 @@ -1,6 +1,7 @@
- CC	= gcc 
+-CC	= gcc 
 -CFLAGS	= -Wall -O
 -BINDIR	= /usr/local/bin/
++#CC	= gcc 
 +CFLAGS+=	-I${PREFIX}/include
 +LDFLAGS+=	-L${PREFIX}/lib -lX11
 +BINDIR=		${PREFIX}/bin/
  
  
  all	: xchadance 
-@@ -9,11 +10,11 @@
+@@ -9,11 +10,11 @@ clean	:
  	rm *.o *~ *.bak core.* a.out
  
  install	:
 -	cp xchadance $(BINDIR)
-+	install -c -s xchadance $(BINDIR)
++	install -c -s xchadance $(DESTDIR)$(BINDIR)
  
  
  xchadance	: xchadance.o chadata.o



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