summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--palm/gnomepilot/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/palm/gnomepilot/Makefile b/palm/gnomepilot/Makefile
index e9183b7cb..37c658467 100644
--- a/palm/gnomepilot/Makefile
+++ b/palm/gnomepilot/Makefile
@@ -33,4 +33,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gpilot-install-file.1
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+
.include <bsd.port.mk>