diff options
author | lofi <lofi@FreeBSD.org> | 2003-08-22 13:08:38 +0000 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2003-08-22 13:08:38 +0000 |
commit | c1ed88f0922dec2cc9514c141fdc975c203f2164 (patch) | |
tree | 001bd36d2c70300d67dfd180e09ec395a3c8cd7c /graphics/kdegraphics4 | |
parent | 2f29369fd4f1d3a0281fa855c07bf6069c875780 (diff) | |
download | FreeBSD-ports-c1ed88f0922dec2cc9514c141fdc975c203f2164.zip FreeBSD-ports-c1ed88f0922dec2cc9514c141fdc975c203f2164.tar.gz |
Add autodetection & message for imlib support.
Approved by: arved (Mentor)
Diffstat (limited to 'graphics/kdegraphics4')
-rw-r--r-- | graphics/kdegraphics4/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/graphics/kdegraphics4/Makefile b/graphics/kdegraphics4/Makefile index bb75f8b..610b94d 100644 --- a/graphics/kdegraphics4/Makefile +++ b/graphics/kdegraphics4/Makefile @@ -28,6 +28,15 @@ USE_REINPLACE= yes INSTALLS_SHLIB= yes LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3 +.include "${.CURDIR}/../../x11/kde3/Makefile.kde" +.include <bsd.port.pre.mk> + +IMLIB_CONFIG= ${X11BASE}/bin/imlib-config + +.if exists(${IMLIB_CONFIG}) +WITH_IMLIB?= yes +.endif + .if defined(WITH_IMLIB) || defined(KDE_WITH_IMLIB) USE_GNOME= imlib PLIST_APPEND+= plist.imlib @@ -35,11 +44,16 @@ CONFIGURE_ARGS+=--with-imlib-config=${X11BASE}/bin .else WITHOUT_IMLIB= yes CONFIGURE_ARGS+=--without-imlib-config +pre-everything:: + @${ECHO_MSG} + @${ECHO_MSG} "=======================================================" + @${ECHO_MSG} "If you want to compile with imlib support (enables" + @${ECHO_MSG} "kuickshow), hit Ctrl-C right now and use" + @${ECHO_MSG} "\"make WITH_IMLIB=yes\"" + @${ECHO_MSG} "=======================================================" + @${ECHO_MSG} .endif # defined(WITH_IMLIB) || defined(KDE_WITH_IMLIB) -.include "${.CURDIR}/../../x11/kde3/Makefile.kde" -.include <bsd.port.pre.mk> - GPHOTO2_CONFIG= ${LOCALBASE}/bin/gphoto2-config .if exists(${GPHOTO2_CONFIG}) |