diff options
author | arved <arved@FreeBSD.org> | 2004-09-03 04:56:35 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-09-03 04:56:35 +0800 |
commit | 3c609b147216532254906d361ad9316fbd4fd6e6 (patch) | |
tree | 8e0a7c80f25a92635e4e38571e6f55228be72b9c | |
parent | c073b8f4037c97de917bd623f7d957c2afe4a6b3 (diff) | |
download | freebsd-ports-gnome-3c609b147216532254906d361ad9316fbd4fd6e6.tar.gz freebsd-ports-gnome-3c609b147216532254906d361ad9316fbd4fd6e6.tar.zst freebsd-ports-gnome-3c609b147216532254906d361ad9316fbd4fd6e6.zip |
Fix build with gcc 3.4
pet portlint
-rw-r--r-- | comms/kpsk/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/comms/kpsk/Makefile b/comms/kpsk/Makefile index ee58688e6577..64635a0731a6 100644 --- a/comms/kpsk/Makefile +++ b/comms/kpsk/Makefile @@ -12,21 +12,22 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= kpsk MAINTAINER= ports@FreeBSD.org -COMMENT= A PSK31 digital radio communications application for the KDE 3.x +COMMENT= A PSK31 digital radio communications application for the KDE -LIB_DEPENDS= db4:${PORTSDIR}/databases/db4 +LIB_DEPENDS= db4:${PORTSDIR}/databases/db4 USE_BZIP2= yes -USE_GMAKE= yes +USE_GMAKE= yes USE_KDELIBS_VER=3 USE_REINPLACE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-D_POSIX_C_SOURCE -I${LOCALBASE}/include" \ +CONFIGURE_ENV= CPPFLAGS="-D_POSIX_C_SOURCE -I${LOCALBASE}/include" \ USER_LDFLAGS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --enable-debug=full +CONFIGURE_ARGS= --enable-debug=full post-patch: - @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure + @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g; \ + s,-pedantic,,g" ${WRKSRC}/configure @${REINPLACE_CMD} -e 's/-ldb-4.0/-ldb4/g' ${WRKSRC}/configure post-install: |