mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Fix utmpx fallout
Notified by: pointyhat (via erwin), ed
This commit is contained in:
parent
c68f262b13
commit
36615f6aab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248361
@ -20,12 +20,18 @@ MAKE_JOBS_SAFE= yes
|
||||
PLIST_FILES= bin/wuzzah
|
||||
MAN1= wuzzah.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^CFLAGS/d' \
|
||||
.if ${OSVERSION} >= 900007
|
||||
@${REINPLACE_CMD} -e '/^CFLAGS/d' -e 's|^\(SUBDIRS.*\)utmpx|\1|p' \
|
||||
${WRKSRC}/Makefile.in
|
||||
.else
|
||||
@${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user