Skip to content

Commit

Permalink
- Better *DEPENDS for x11/tk/8.4
Browse files Browse the repository at this point in the history
- Fix MODULE as only converters/libiconv is needed
- Put LOCALBASE/lib before X11BASE/lib so correct version of libexpat will
  be used
- Bump PKGNAME

ok naddy@
  • Loading branch information
Aleksander Piotrowski committed Mar 14, 2005
1 parent 0144a12 commit bd0558d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions math/graphviz/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.14 2004/12/27 07:16:44 alek Exp $
# $OpenBSD: Makefile,v 1.15 2005/03/14 15:27:13 alek Exp $


COMMENT= "graph drawing software"

DISTNAME= graphviz-1.16
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= math devel graphics

HOMEPAGE= http://www.graphviz.org/
Expand All @@ -20,18 +20,19 @@ WANTLIB= ICE SM X11 Xaw Xext Xmu Xpm Xt c fontconfig freetype m z

MASTER_SITES= ${HOMEPAGE}pub/graphviz/ARCHIVE/

MODULES= gettext
MODULES= converters/libiconv
LIB_DEPENDS= expat.4::textproc/expat \
jpeg.62::graphics/jpeg \
png.2::graphics/png \
tk84.1:tk-8.4.*:x11/tk/8.4
png.2::graphics/png
BUILD_DEPENDS= :tk-8.4.*:x11/tk/8.4
RUN_DEPENDS= ${BUILD_DEPENDS}

CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static \
--with-mylibgd
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib"
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"

DOCBASE= ${PREFIX}/share/doc/graphviz
EXBASE= ${PREFIX}/share/examples/graphviz
Expand Down

0 comments on commit bd0558d

Please sign in to comment.