1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- restore the way it was before I started to "fix" things that didn't need

fixing (it was failing on my tindys because of a very particular environment
poisoning)
- no bump of PORTREVISION this time since I didn't actually changed anything

Pointyhat to:	itetcu@ (raises and waves "It's me!")
This commit is contained in:
Ion-Mihai Tetcu 2008-06-24 19:11:56 +00:00
parent 8ae4b3adb1
commit fc0a410721
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215721

View File

@ -24,19 +24,15 @@ MAKE_ARGS= CC="${CC}" CXX="${CXX}"
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
.include "Makefile.man"
.include <bsd.port.pre.mk>
post-patch:
@${FIND} ${WRKSRC} -name '*.c' | ${XARGS} ${GREP} -lF malloc.h \
| ${XARGS} ${REINPLACE_CMD} -n -e "s|<malloc.h>||" -e t -e p
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e '/^install.man::/ { p; s/.*/ exit 0\\/; }' \
${WRKSRC}/Makefile
.else
.include "Makefile.man"
.endif
post-configure:
# Work around shortcomings of the Image.rules et. al:
# Work around shortcomings of the Image.rules et. al:
${REINPLACE_CMD} -e 's:-fPIC:${FPIC} -DPIC:g' \
-e 's,-c \$$(CCOPTIONS),-c $$(CFLAGS),' \
-e 's,\(\$$(AR) \$$@ \$$\)(OBJS),\1(OBJS:S|^|unshared/|),' \