diff options
author | lofi <lofi@FreeBSD.org> | 2003-08-22 21:08:38 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2003-08-22 21:08:38 +0800 |
commit | c1ed88f0922dec2cc9514c141fdc975c203f2164 (patch) | |
tree | 001bd36d2c70300d67dfd180e09ec395a3c8cd7c /graphics/kdegraphics3 | |
parent | 2f29369fd4f1d3a0281fa855c07bf6069c875780 (diff) | |
download | freebsd-ports-gnome-c1ed88f0922dec2cc9514c141fdc975c203f2164.tar.gz freebsd-ports-gnome-c1ed88f0922dec2cc9514c141fdc975c203f2164.tar.zst freebsd-ports-gnome-c1ed88f0922dec2cc9514c141fdc975c203f2164.zip |
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}) |