diff options
Diffstat (limited to 'x11/kde4')
-rw-r--r-- | x11/kde4/Makefile.kde | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/x11/kde4/Makefile.kde b/x11/kde4/Makefile.kde index 611f52ea17e3..85bdc20e1112 100644 --- a/x11/kde4/Makefile.kde +++ b/x11/kde4/Makefile.kde @@ -97,19 +97,15 @@ _NO_KDE_FIXPTHREAD= yes .endif .if !defined(_NO_KDE_FIXPTHREAD) -PTHFIX_DATE?= 2003092201 -MASTER_SITES+= http://www.fruitsalad.org/patches/:kde \ - ${MASTER_SITE_KDE_kde:S,src,FreeBSD/patches,g} -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - ${PORTNAME}-${PTHFIX_DATE}-configure.tar.bz2:kde -PATCH_SITES+= http://www.fruitsalad.org/patches/:kde \ - ${MASTER_SITE_KDE_kde:S,src,FreeBSD/patches,g} -PATCHFILES+= patch-ltmain.sh:kde USE_REINPLACE= yes -pre-configure: fix-pedantic -fix-pedantic: - @${REINPLACE_CMD} "s,-pedantic,,g" ${WRKSRC}/configure +pre-configure: kde-fix-configure kde-fix-ltmain.sh +kde-fix-configure: + ${REINPLACE_CMD} "s,-pedantic,,g; \ + s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure + +kde-fix-ltmain.sh: + ${REINPLACE_CMD} "s, | .*freebsd\*)$$,*),g" ${WRKSRC}/admin/ltmain.sh .endif kde-version-check: |