From 2c35ebc313ed31db30a4046e8012fd8968d82cc3 Mon Sep 17 00:00:00 2001 From: kwm Date: Sun, 28 Apr 2013 12:21:00 +0000 Subject: Make these port work again. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18402 df743ca5-7f9a-e211-a948-0013205c9059 --- editors/gedit/Makefile | 15 +++------------ graphics/evince/Makefile | 2 +- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/editors/gedit/Makefile b/editors/gedit/Makefile index 3f3bf6199..c3b4281fa 100644 --- a/editors/gedit/Makefile +++ b/editors/gedit/Makefile @@ -28,7 +28,6 @@ USE_GMAKE= yes USE_AUTOTOOLS= libtool USE_GNOME= gnomeprefix intlhack gconf2 gtksourceview2 \ gnomedocutils ltasneededhack -WANT_GNOME= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= VERSION="2.20" @@ -36,14 +35,12 @@ PLIST_SUB= VERSION="2.20" MAN1= gedit.1 GCONF_SCHEMAS= gedit.schemas gedit-file-browser.schemas -.if defined(PACKAGE_BUILDING) -.undef WITHOUT_GNOME -WITH_GNOME= yes -.endif +OPTIONS_DEFINE= PYTHON +OPTIONS_DEFAULT=PYTHON .include -.if ${HAVE_GNOME:Mpygtksourceview}!="" +.if ${PORT_OPTIONS:MPYTHON} USE_PYTHON= yes .include "${PORTSDIR}/Mk/bsd.python.mk" USE_GNOME+= pygtksourceview @@ -54,10 +51,4 @@ CONFIGURE_ARGS+=--disable-python PLIST_SUB+= PYTHON="@comment " .endif -#pre-build: -# ${MKDIR} ${WRKSRC}/bindings/python/.deps -#.for ff in gedit_la-gedit.Plo gedit_la-geditcommands.Plo gedit_la-geditutils.Plo -# ${TOUCH} ${WRKSRC}/bindings/python/.deps/${ff} -#.endfor - .include diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile index 64ccac475..c764ccce7 100644 --- a/graphics/evince/Makefile +++ b/graphics/evince/Makefile @@ -124,4 +124,4 @@ post-patch: ${WRKSRC}/help/reference/libdocument/Makefile.in \ ${WRKSRC}/help/reference/libview/Makefile.in -.include +.include -- cgit v1.2.3