svn commit: r370068 - in head/graphics/cal3d: . files

Tijl Coosemans tijl at FreeBSD.org
Sun Oct 5 13:45:59 UTC 2014


Author: tijl
Date: Sun Oct  5 13:45:58 2014
New Revision: 370068
URL: https://svnweb.freebsd.org/changeset/ports/370068
QAT: https://qat.redports.org/buildarchive/r370068/

Log:
  Remove patches and patch Makefile.in instead of Makefile.am to avoid
  USE_AUTOTOOLS

Deleted:
  head/graphics/cal3d/files/
Modified:
  head/graphics/cal3d/Makefile

Modified: head/graphics/cal3d/Makefile
==============================================================================
--- head/graphics/cal3d/Makefile	Sun Oct  5 13:32:37 2014	(r370067)
+++ head/graphics/cal3d/Makefile	Sun Oct  5 13:45:58 2014	(r370068)
@@ -13,27 +13,15 @@ COMMENT=	Skeletal based 3D character ani
 
 CONFLICTS=	cal3d-devel-[0-9]*
 
-USES=		pkgconfig libtool
 GNU_CONFIGURE=	yes
-USE_AUTOTOOLS=	automake autoheader
-AUTOMAKE_ARGS=	--add-missing
+USES=		libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
-AUTOTOOLSFILES=	aclocal.m4
-# AUTOMAKE_ARGS=	--add-missing
 
 post-patch:
-	@${REINPLACE_CMD} \
-		-e 's|^\(pkgconfigdir\ =\).*|\1 $$(prefix)/libdata/pkgconfig|' \
-		${WRKSRC}/Makefile.am
 	@${REINPLACE_CMD} -e 's|<istream>|<iostream>|' \
 		${WRKSRC}/src/cal3d/buffersource.h \
 		${WRKSRC}/src/cal3d/loader.h \
 		${WRKSRC}/src/cal3d/streamsource.h
-	@${REINPLACE_CMD} -e '/^all_libraries/d' ${WRKSRC}/src/cal3d/Makefile.am
-	@${REINPLACE_CMD} -e 's| tests||' ${WRKSRC}/Makefile.am
-
-post-configure:
-	@${FIND} ${WRKSRC} -name Makefile -print | \
-		${XARGS} ${REINPLACE_CMD} -e 's|MKDIR_P|mkdir_p|g'
+	@${REINPLACE_CMD} '/^SUBDIRS =/s/tests//' ${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list