diff options
author | lofi <lofi@FreeBSD.org> | 2005-07-11 01:47:41 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2005-07-11 01:47:41 +0800 |
commit | 66cec95561c6a7ae979d65ccca219631a663b775 (patch) | |
tree | 46cd4621eb9e6e311237c4588cc62147f4f9e79e /devel | |
parent | 4ef965c9cd967e484c8a294967f983bfd10c98fd (diff) | |
download | freebsd-ports-graphics-66cec95561c6a7ae979d65ccca219631a663b775.tar.gz freebsd-ports-graphics-66cec95561c6a7ae979d65ccca219631a663b775.tar.zst freebsd-ports-graphics-66cec95561c6a7ae979d65ccca219631a663b775.zip |
Add some more bandaids to allow at least the primitive KDE application
templates to actually build.
Submitted by: Andy Fawcett <andy@athame.co.uk>
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" "$@" |