From 091a2c1dadd8c7afc914232ec95ad5c7b315d0fb Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 21 Jan 2014 00:31:31 +0000 Subject: [PATCH] Support stage Fix packaging as a user --- devel/libexecinfo/Makefile | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/devel/libexecinfo/Makefile b/devel/libexecinfo/Makefile index 715f2b6d6b07..fc28d7a29813 100644 --- a/devel/libexecinfo/Makefile +++ b/devel/libexecinfo/Makefile @@ -9,8 +9,11 @@ MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= itetcu MAINTAINER= itetcu@FreeBSD.org -COMMENT= A library for inspecting program's backtrace +COMMENT= Library for inspecting program's backtrace +OPTIONS_DEFINE= DOCS + +USES= uidfix USE_BZIP2= yes USE_LDCONFIG= yes MAKE_FLAGS= LIBDIR=${PREFIX}/lib \ @@ -18,17 +21,10 @@ MAKE_FLAGS= LIBDIR=${PREFIX}/lib \ PORTDOCS= README -NO_STAGE= yes -.include - -.if ${ARCH} == "amd64" -CFLAGS+= -fno-omit-frame-pointer -.endif +CFLAGS_amd64= -fno-omit-frame-pointer post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.include +.include