svn commit: r356970 - in head/games/xchadance: . files

Vanilla I. Shu vanilla at FreeBSD.org
Sun Jun 8 03:29:16 UTC 2014


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


More information about the svn-ports-all mailing list