Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2014 07:15:33 +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: r358360 - in head/math/mtl: . files
Message-ID:  <201406190715.s5J7FXZG051269@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Thu Jun 19 07:15:33 2014
New Revision: 358360
URL: http://svnweb.freebsd.org/changeset/ports/358360
QAT: https://qat.redports.org/buildarchive/r358360/

Log:
  Stagify.
  
  Approved by:	portmgr@

Added:
  head/math/mtl/files/patch-mtl__Makefile.in   (contents, props changed)
Modified:
  head/math/mtl/Makefile

Modified: head/math/mtl/Makefile
==============================================================================
--- head/math/mtl/Makefile	Thu Jun 19 07:12:55 2014	(r358359)
+++ head/math/mtl/Makefile	Thu Jun 19 07:15:33 2014	(r358360)
@@ -22,7 +22,6 @@ USES=		perl5
 USE_PERL5=	build
 WRKSRC =	${WRKDIR}/${DISTNAME:R}
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e '/gnu\*)/,/;;/{/CXX=/d; /CXX_OPTIMIZE_FLAGS=/d; \
 	s/CXXFLAGS="/&$$ac_cv_env_CXXFLAGS_value /; }' \
@@ -49,9 +48,9 @@ CXXFLAGS+=	-fpermissive
 PORTEXAMPLES=	*
 
 post-install:
-	@${MKDIR} ${EXAMPLESDIR}/doubledouble
-	@${INSTALL_DATA} ${WRKSRC}/contrib/examples/*  ${EXAMPLESDIR}
-	@${INSTALL_DATA} ${WRKSRC}/contrib/doubledouble/*  ${EXAMPLESDIR}/doubledouble
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/doubledouble
+	@${INSTALL_DATA} ${WRKSRC}/contrib/examples/* ${STAGEDIR}${EXAMPLESDIR}
+	@${INSTALL_DATA} ${WRKSRC}/contrib/doubledouble/* ${STAGEDIR}${EXAMPLESDIR}/doubledouble
 
 .endif
 .include <bsd.port.post.mk>

Added: head/math/mtl/files/patch-mtl__Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/mtl/files/patch-mtl__Makefile.in	Thu Jun 19 07:15:33 2014	(r358360)
@@ -0,0 +1,17 @@
+--- mtl/Makefile.in.orig	2014-06-19 15:12:46.890432000 +0800
++++ mtl/Makefile.in	2014-06-19 15:13:23.850278020 +0800
+@@ -454,11 +454,11 @@ uninstall-am: uninstall-info-am
+ 
+ 
+ make-install-dirs:
+-	-if test '!' -d $(includedir); then mkdir -p $(includedir); fi
++	-if test '!' -d $(DESTDIR)$(includedir); then mkdir -p $(DESTDIR)$(includedir); fi
+ 
+ install-data-hook: make-install-dirs
+-	-@ echo Installing $(includedir) ; \
+-	$(INSTALL_DATA) *.h $(includedir)
++	-@ echo Installing $(DESTDIR)$(includedir) ; \
++	$(INSTALL_DATA) *.h $(DESTDIR)$(includedir)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:



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