diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/kdevelop/Makefile | 6 | ||||
-rw-r--r-- | devel/kdevelop/files/kdevelop | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/devel/kdevelop/Makefile b/devel/kdevelop/Makefile index d019b980b4d..158454128e9 100644 --- a/devel/kdevelop/Makefile +++ b/devel/kdevelop/Makefile @@ -7,7 +7,7 @@ PORTNAME= kdevelop PORTVERSION= 3.2.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES?= devel kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${KDE_VERSION:S/.0//}/src @@ -55,10 +55,12 @@ pre-everything:: post-patch: @${TOUCH} -t 200401230000 ${WRKSRC}/Makefile.am.in + @${CP} ${WRKSRC}/admin/acinclude.m4.in ${WRKSRC}/parts/appwizard/common/admin/acinclude.m4.in post-configure: @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \ - s|%%PREFIX%%|${PREFIX}|g' < ${FILESDIR}/kdevelop \ + s|%%PREFIX%%|${PREFIX}|g ; \ + s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' < ${FILESDIR}/kdevelop \ > ${WRKDIR}/kdevelop .if ${ARCH} == "amd64" @${REINPLACE_CMD} -e "s,-O2,${CFLAGS} -fPIC," \ diff --git a/devel/kdevelop/files/kdevelop b/devel/kdevelop/files/kdevelop index 7433176a512..a02437512df 100644 --- a/devel/kdevelop/files/kdevelop +++ b/devel/kdevelop/files/kdevelop @@ -2,5 +2,6 @@ export PATH=%%LOCALBASE%%/gnu-autotools/bin:${PATH} export ACLOCAL_FLAGS="-I %%LOCALBASE%%/share/aclocal ${ACLOCAL_FLAGS}" +export PTHREAD_LIBS=%%PTHREAD_LIBS%% exec "%%PREFIX%%/bin/kdevelop-bin" "$@" |