Add some more bandaids to allow at least the primitive KDE application
templates to actually build. Submitted by: Andy Fawcett <andy@athame.co.uk>
This commit is contained in:
parent
3eab162b94
commit
da457b4120
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138820
2 changed files with 5 additions and 2 deletions
|
@ -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," \
|
||||
|
|
|
@ -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" "$@"
|
||||
|
|
Loading…
Reference in a new issue