From c54db02b1756c2327aec37b1c688b6fbebb254ad Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Mon, 8 Sep 2014 18:32:19 +0000 Subject: [PATCH] Allow staging as a regular user --- devel/djgpp-crx/Makefile | 4 +--- devel/djgpp-crx/files/Makefile | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/devel/djgpp-crx/Makefile b/devel/djgpp-crx/Makefile index 66942a423ee8..be4b6abcc7e6 100644 --- a/devel/djgpp-crx/Makefile +++ b/devel/djgpp-crx/Makefile @@ -15,10 +15,8 @@ MAINTAINER= johnson.peter@gmail.com COMMENT= Headers and Libraries for DJGPP cross-development USES= zip +MAKEFILE= ${FILESDIR}/Makefile NO_MTREE= yes NO_WRKSUBDIR= yes -post-extract: - @${CP} ${FILESDIR}/Makefile ${WRKDIR} - .include diff --git a/devel/djgpp-crx/files/Makefile b/devel/djgpp-crx/files/Makefile index 48cffe70bfc8..5de3fa15121c 100644 --- a/devel/djgpp-crx/files/Makefile +++ b/devel/djgpp-crx/files/Makefile @@ -7,6 +7,6 @@ stubify: install: mkdir -p $(DESTDIR)${PREFIX}/i586-pc-msdosdjgpp/bin - install -c -g wheel -o root -m 0755 stubify $(DESTDIR)${PREFIX}/i586-pc-msdosdjgpp/bin + $(BSD_INSTALL_PROGRAM) stubify $(DESTDIR)${PREFIX}/i586-pc-msdosdjgpp/bin cp -R lib include $(DESTDIR)${PREFIX}/i586-pc-msdosdjgpp