mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
- Remove 4.X gruft
PR: 111854 Submitted by: Marcelo Araujo <araujo@bsdmail.org> Approved by: maintainer implicit
This commit is contained in:
parent
cbd649feb4
commit
f273a843ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190349
@ -33,22 +33,16 @@ MANCOMPRESSED= yes
|
||||
|
||||
SHLIB_MAJOR= 0
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
USE_GCC= 3.4
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|\$${PREFIX}|g ; \
|
||||
s|^CC|#CC|g ; \
|
||||
s|^MAJ|#MAJ|g ; \
|
||||
s|^MIN|#MIN|g ; \
|
||||
s|\.\$$(MAJVERSION)||g ; \
|
||||
s|\.\$${MAJVERSION}||g ; \
|
||||
s|^RPM_OPT_FLAGS|#RPM_OPT_FLAGS|g ; \
|
||||
s| -lc| \$${LDFLAGS}|g ; \
|
||||
s|install -m ...|\$${BSD_INSTALL_DATA}|g ; \
|
||||
s|-/sbin/ldconfig.*$$||g ; \
|
||||
s|-D_XOPEN_SOURCE=500||g' ${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user