Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2016 19:18:46 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429452 - head/devel/e2fsprogs-libss
Message-ID:  <201612251918.uBPJIkN8068379@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sun Dec 25 19:18:46 2016
New Revision: 429452
URL: https://svnweb.freebsd.org/changeset/ports/429452

Log:
  Set BUILD_WRKSRC instead of adding a post-build target
  
  Simplify the port's Makefile a little bit by dropping the "post-build" target
  that actually builds libss and setting BUILD_WRKSRC instead.
  
  The port's build system takes care of making lib/ss depend on the subst target.
  
  PR:		215550
  Approved by:	bjk (maintainer)

Modified:
  head/devel/e2fsprogs-libss/Makefile

Modified: head/devel/e2fsprogs-libss/Makefile
==============================================================================
--- head/devel/e2fsprogs-libss/Makefile	Sun Dec 25 18:45:02 2016	(r429451)
+++ head/devel/e2fsprogs-libss/Makefile	Sun Dec 25 19:18:46 2016	(r429452)
@@ -21,7 +21,7 @@ CONFIGURE_ARGS=	--enable-elf-shlibs
 MASTERDIR=	${.CURDIR}/../../sysutils/e2fsprogs
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-ALL_TARGET=	subs
+BUILD_WRKSRC=	${WRKSRC}/lib/ss
 INSTALL_WRKSRC=	${WRKSRC}/lib/ss
 FILESDIR=	${.CURDIR}/files
 
@@ -31,8 +31,4 @@ pre-build:
 	@(cd ${WRKSRC}/lib/ss && compile_et ss_err.et && \
 	${REINPLACE_CMD} -f ${FILESDIR}/fix-ss_err.h.sed ss_err.h)
 
-post-build:
-	@(cd ${WRKSRC}/lib/ss && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \
-	${_MAKE_JOBS} ${MAKE_ARGS} all)
-
 .include "${MASTERDIR}/Makefile"



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