Support Stagedir
This commit is contained in:
parent
d5432aae23
commit
a55af0ef36
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338135
1 changed files with 2 additions and 3 deletions
|
@ -22,7 +22,6 @@ MAKE_ENV+= OUT="-o" LIBS=${PTHREAD_LIBS}
|
|||
PLIST_FILES+= bin/netio6
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
do-build:
|
||||
cd ${WRKSRC}; \
|
||||
${SETENV} ${MAKE_ENV} O=.o CFLAGS="${CFLAGS}" ${GMAKE} all
|
||||
|
@ -32,9 +31,9 @@ do-build:
|
|||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/netio ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/netio ${STAGEDIR}${PREFIX}/bin
|
||||
.if defined(WITH_IPV6)
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/netio6 ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/netio6 ${STAGEDIR}${PREFIX}/bin
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue