aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-02-17 21:50:43 +0800
committerbapt <bapt@FreeBSD.org>2014-02-17 21:50:43 +0800
commit65a1103508281780c4ad8a4b03f29fd3694c6bb3 (patch)
treeb6557e6c9b1eb1c2f6a2804eceebd2983416eadd
parent6bc2811fb9a39cc97b5774a8d5c0b575d5a570c2 (diff)
downloadfreebsd-ports-gnome-65a1103508281780c4ad8a4b03f29fd3694c6bb3.tar.gz
freebsd-ports-gnome-65a1103508281780c4ad8a4b03f29fd3694c6bb3.tar.zst
freebsd-ports-gnome-65a1103508281780c4ad8a4b03f29fd3694c6bb3.zip
Fix build as a user
While here cleanup a bit
-rw-r--r--devel/libublio/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/devel/libublio/Makefile b/devel/libublio/Makefile
index 8f8090ad18a5..fc2b0e323ad7 100644
--- a/devel/libublio/Makefile
+++ b/devel/libublio/Makefile
@@ -18,14 +18,12 @@ PLIST_SUB+= PROFLIB="@comment "
PLIST_SUB+= PROFLIB=""
.endif
+USES= uidfix
+
SRCCONF= /dev/null
MAKE_ENV+= SRCCONF=${SRCCONF}
-NEED_ROOT= yes
-
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-extract:
@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
@@ -38,9 +36,7 @@ pre-install:
@${ECHO_CMD} ${.MAKEFILE_LIST}
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>