backport from gedit3:

- CONFIGURE_STYLE is set by Makefile.inc, so no need to do it here too
- remove extra libs from CONFIGURE_ENV that have been there since 1.1.1.1 but aren't needed anymore
This commit is contained in:
jasper 2011-05-31 16:10:20 +00:00
parent b44895b5a8
commit aa25eb0f63

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.62 2011/05/14 22:10:08 jasper Exp $ # $OpenBSD: Makefile,v 1.63 2011/05/31 16:10:20 jasper Exp $
SHARED_ONLY= Yes SHARED_ONLY= Yes
@ -12,7 +12,7 @@ COMMENT= lightweight GNOME text editor
GNOME_PROJECT= gedit GNOME_PROJECT= gedit
GNOME_VERSION= 2.30.4 GNOME_VERSION= 2.30.4
REVISION= 1 REVISION= 2
CATEGORIES= editors CATEGORIES= editors
@ -54,14 +54,13 @@ DESKTOP_FILES= Yes
MODGCONF2_SCHEMAS_DIR= gedit MODGCONF2_SCHEMAS_DIR= gedit
LIBTOOL_FLAGS= --tag=disable-static LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-python \ --enable-python \
--disable-attr \ --disable-attr \
--disable-updater --disable-updater
#CONFIGURE_ARGS+= --enable-gvfs-metadata #CONFIGURE_ARGS+= --enable-gvfs-metadata
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lm -lstdc++ -lintl -liconv" LDFLAGS="-L${LOCALBASE}/lib"
USE_GROFF = Yes USE_GROFF = Yes
.include <bsd.port.mk> .include <bsd.port.mk>