summaryrefslogtreecommitdiff
path: root/lang/pfe/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-02-15 12:29:27 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-02-15 12:29:27 +0000
commit806c195c7b70266129ee21f64d86e57a9d2ba914 (patch)
tree1b6761acffd2b225ebea171a93dbeb780b456a1d /lang/pfe/Makefile
parent- Update to 2.3.0 (diff)
- Update to 0.33.70
PR: 130445 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=228388
Diffstat (limited to 'lang/pfe/Makefile')
-rw-r--r--lang/pfe/Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/lang/pfe/Makefile b/lang/pfe/Makefile
index 8b60ba207d8e..c67c6fd8a71e 100644
--- a/lang/pfe/Makefile
+++ b/lang/pfe/Makefile
@@ -6,30 +6,33 @@
#
PORTNAME= pfe
-PORTVERSION= 0.32.94
-PORTREVISION= 1
+PORTVERSION= 0.33.70
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Implementation of ANSI Forth
LATEST_LINK= pfe-devel
-USE_AUTOTOOLS= libtool:15
+USE_BZIP2= yes
USE_PERL5_BUILD=yes
-USE_GNOME= gnometarget lthack
+USE_GCC= 4.2+
USE_GMAKE= yes
-GNU_CONFIGURE= yes
+USE_AUTOTOOLS= libtool:15
LIBTOOLFILES= pfe/configure
+MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
-MAN1= pfe.1 pfe-config.1
+MAN1= pfe.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 700042
-BROKEN= Does not compile with GCC 4.2
+.if ${ARCH} == "i386" && ${OSVERSION} < 700000
+CFLAGS+= -fno-builtin-strcat -fno-builtin-strlen
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g ; \
+ s|-O$$opt_level||g' ${WRKSRC}/pfe/configure
+
.include <bsd.port.post.mk>