From a3d0538cbb515b8f3f8f1f78b6ff8421441145ec Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Mon, 29 Sep 2003 02:55:44 +0000 Subject: - respect CFLAGS - respect PTHREAD_LIBS PR: ports/56604 Submitted by: Markus Brueffer (maintainer) --- mail/ksig/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mail/ksig/Makefile b/mail/ksig/Makefile index 1c9e1ba92575..e43b7106bb0c 100644 --- a/mail/ksig/Makefile +++ b/mail/ksig/Makefile @@ -15,7 +15,12 @@ COMMENT= Tool for managing a collection of e-mail signatures USE_KDELIBS_VER= 3 USE_GMAKE= yes GNU_CONFIGURE= yes +USE_REINPLACE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +post-patch: + @${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \ + ${WRKSRC}/${CONFIGURE_SCRIPT} + .include -- cgit v1.2.3