diff options
author | Will Andrews <will@FreeBSD.org> | 2003-11-02 15:56:12 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2003-11-02 15:56:12 +0000 |
commit | a725cb5ec5bc076df66114c5900b1da6e173ca21 (patch) | |
tree | ce4f46819156d17a73ca3b655ee258b3e2d5d3da /x11/kde4/Makefile.kde | |
parent | Fix templates handling. (diff) |
Switch to a more scalable and better method of hacking the pthread stuff
in for -CURRENT (essentially, reinplace). This method was originally
believed not to work, but it was simply missing the ltmain.sh fix. This
should allow third-party apps to be fixed without needing to put the same
snippet everywhere. Not to mention getting rid of the patches.
Notes
Notes:
svn path=/head/; revision=92851
Diffstat (limited to '')
-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: |