mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
OSVERSION checks aren't happy unless they're sitting between
bsd.port.pre.mk and bsd.port.post.mk. Approved by: portmgr (marcus)
This commit is contained in:
parent
f3f086c890
commit
b7be913519
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131912
@ -29,6 +29,8 @@ PLIST_FILES= ${DATADIR}/${FILENAME}
|
||||
PLIST_DIRS= ${DATADIR}
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s|-fshort-wchar||" ${WRKSRC}/components/Makefile
|
||||
@ -44,4 +46,4 @@ do-install:
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user