aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2002-11-08 23:52:07 +0800
committerarved <arved@FreeBSD.org>2002-11-08 23:52:07 +0800
commitea22890df414aef646274717f93df41925529bf9 (patch)
treeac2f466143fc7cdd2303d673e1b1fe33428c428f /devel
parenta987d34d8bed58d20bc7f9179ce0d0e0e5bb483f (diff)
downloadfreebsd-ports-gnome-ea22890df414aef646274717f93df41925529bf9.tar.gz
freebsd-ports-gnome-ea22890df414aef646274717f93df41925529bf9.tar.zst
freebsd-ports-gnome-ea22890df414aef646274717f93df41925529bf9.zip
Unbreak devel e4graph
PR: 44108 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'devel')
-rw-r--r--devel/e4graph/Makefile14
-rw-r--r--devel/e4graph/files/patch-makefile.include.in11
2 files changed, 18 insertions, 7 deletions
diff --git a/devel/e4graph/Makefile b/devel/e4graph/Makefile
index d4617391ded3..63b118ffc36c 100644
--- a/devel/e4graph/Makefile
+++ b/devel/e4graph/Makefile
@@ -15,17 +15,17 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
-BROKEN= "Does not compile"
-
-BUILD_DEPENDS= ${LOCALBASE}/lib/libmk4.a:${PORTSDIR}/databases/metakit
+BUILD_DEPENDS= ${LOCALBASE}/lib/libmk4.so:${PORTSDIR}/databases/metakit
LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83 \
expat.4:${PORTSDIR}/textproc/expat2
-USE_LIBTOOL= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/all
-CONFIGURE_ARGS= --with-metakit=${PREFIX} \
- --with-tcl=${PREFIX} --enable-tcl \
- --with-expat=${PREFIX} --enable-xml
+
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --with-metakit=${LOCALBASE} \
+ --with-tcl=${LOCALBASE} --enable-tcl \
+ --with-expat=${LOCALBASE} --enable-xml
+CFLAGS+= -fpermissive
MAKEFILE= makefile
INSTALLS_SHLIB= yes
diff --git a/devel/e4graph/files/patch-makefile.include.in b/devel/e4graph/files/patch-makefile.include.in
new file mode 100644
index 000000000000..670af63168dd
--- /dev/null
+++ b/devel/e4graph/files/patch-makefile.include.in
@@ -0,0 +1,11 @@
+--- makefile.include.in.orig Wed May 8 01:04:10 2002
++++ makefile.include.in Fri Oct 11 04:07:02 2002
+@@ -22,7 +22,7 @@
+
+ # Compile flags:
+
+-CXXFLAGS = -g -O4 -DPIC -fPIC -Dq4_INLINE
++CXXFLAGS = @CXXFLAGS@ -DPIC -fPIC -Dq4_INLINE
+
+ # Programs used during make:
+