1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Fix pcre lib linking if nothing adds ${LOCALBASE}/lib to LDFLAGS

PR:             ports/141640
Submitted by:   Artis Caune <Artis.Caune@gmail.com>
Approved by:    maintainer timeout (krion ; 255 days)
This commit is contained in:
Philip M. Gollucci 2010-09-07 02:05:29 +00:00
parent 0126b111ab
commit 02fd646f9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260669

View File

@ -476,7 +476,7 @@ do-configure:
.endif
@[ ! -f ${PKGDIR}/pkg-install ] || ${SED} ${SED_SCRIPT} ${PKGDIR}/pkg-install > ${PKGINSTALL}
@${REINPLACE_CMD} -E ${SEDLIST} ${WRKSRC}/src/configure.default
@${REINPLACE_CMD} -e 's/$$(LDFLAGS)/$$(DUMMY_LDFLAGS)/' ${WRKSRC}/OS/Makefile-Base
@${REINPLACE_CMD} -e 's!$$(LDFLAGS)!$$(DUMMY_LDFLAGS) -L$${LOCALBASE}/lib!' ${WRKSRC}/OS/Makefile-Base
@${REINPLACE_CMD} -e 's/"(Exim $$version_number)\\n\\t"/"(Exim $$version_number (${OPSYS}))\\n\\t"/' \
${WRKSRC}/src/globals.c
@${REINPLACE_CMD} -e 's/Exim version %s \(#%s \)\{0,1\}/&(${OPSYS} ${OSREL}) /' ${WRKSRC}/src/exim.c