aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-21 08:31:31 +0800
committerbapt <bapt@FreeBSD.org>2014-01-21 08:31:31 +0800
commitd55958092e3d6fcc604f504a3e60a490f33c7b31 (patch)
tree18a60ba0e35318fc3cee9a59b4842ebe12a15272 /devel
parent34580525fa78e358768f1d36114ea72d35aeeecb (diff)
downloadfreebsd-ports-gnome-d55958092e3d6fcc604f504a3e60a490f33c7b31.tar.gz
freebsd-ports-gnome-d55958092e3d6fcc604f504a3e60a490f33c7b31.tar.zst
freebsd-ports-gnome-d55958092e3d6fcc604f504a3e60a490f33c7b31.zip
Support stage
Fix packaging as a user
Diffstat (limited to 'devel')
-rw-r--r--devel/libexecinfo/Makefile20
1 files 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 <bsd.port.pre.mk>
-
-.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 <bsd.port.post.mk>
+.include <bsd.port.mk>