diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2003-08-22 13:08:38 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2003-08-22 13:08:38 +0000 |
commit | 6bd070493cbc7b8bb04c26dbadd769a49453d6c1 (patch) | |
tree | 63aabb7b80c8a312f66db254621a2ca3e368a93f /graphics/kdegraphics3 | |
parent | Update to latest milestone 0.27.0 (diff) |
Add autodetection & message for imlib support.
Approved by: arved (Mentor)
Diffstat (limited to 'graphics/kdegraphics3')
-rw-r--r-- | graphics/kdegraphics3/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/graphics/kdegraphics3/Makefile b/graphics/kdegraphics3/Makefile index bb75f8b08cd3..610b94dd3e22 100644 --- a/graphics/kdegraphics3/Makefile +++ b/graphics/kdegraphics3/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}) |