diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-09-03 02:46:49 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-09-03 02:46:49 +0000 |
commit | 5dc9b7f571c5ff107f23c55359449e1320f5bc23 (patch) | |
tree | 5a017d01eb1fdb09f452ca186cf116b89ff21ba0 /multimedia/mplayerxp | |
parent | Deploy USE_GNOMENG infrastructure (diff) |
Deploy USE_GNOMENG infrastructure
PR: 42349
Submitted by: Edwin Groothuis <edwin@mavetju.org>
Notes
Notes:
svn path=/head/; revision=65522
Diffstat (limited to 'multimedia/mplayerxp')
-rw-r--r-- | multimedia/mplayerxp/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/multimedia/mplayerxp/Makefile b/multimedia/mplayerxp/Makefile index fbc0e1ee748a..2877ffdd2726 100644 --- a/multimedia/mplayerxp/Makefile +++ b/multimedia/mplayerxp/Makefile @@ -34,7 +34,8 @@ CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \ --with-extraincdir=${LOCALBASE}/include -WANT_GTK= yes +USE_GNOMENG= yes +WANT_GNOME= yes MAN1= mplayer.1 MLINKS= mplayer.1 mencoder.1 MANCOMPRESSED= no @@ -76,12 +77,13 @@ WITH_XANIM= yes CFLAGS+= -O3 -ffast-math -fomit-frame-pointer .endif -.if defined(HAVE_GTK) +.if ${HAVE_GNOME:Mgtk12}!="" WITH_GUI= yes .endif .if defined(WITH_GUI) -USE_GTK= yes +USE_GNOME+= gtk12 +PKGNAMESUFFIX= -gtk CONFIGURE_ARGS+= --enable-gui .endif @@ -160,7 +162,7 @@ pre-everything:: @${ECHO_MSG} "You can enable additional compilation optimizations" @${ECHO_MSG} "by defining WITH_OPTIMIZED_CFLAGS" .endif -.if !defined(WITH_GUI) && !defined(HAVE_GTK) +.if !defined(WITH_GUI) && ${HAVE_GNOME:Mgtk12}=="" @${ECHO_MSG} "You can enable GTK GUI by defining WITH_GUI." .endif .if !defined(WITH_DVD) |