diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2007-12-18 18:57:35 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2007-12-18 18:57:35 +0000 |
commit | daf2eb6fad96acac013e0d0c368a11d9c6bea990 (patch) | |
tree | e60f7d0ac80f919e01b17554897774a680edf382 | |
parent | 18733b2e0e89771b9a0edd7a0e8b3b3ca86459dd (diff) | |
download | ports-daf2eb6fad96acac013e0d0c368a11d9c6bea990.tar.gz ports-daf2eb6fad96acac013e0d0c368a11d9c6bea990.zip |
Notes
-rw-r--r-- | graphics/libcaca/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/libcaca/Makefile b/graphics/libcaca/Makefile index 9de73ccb64e2..65d9c1678751 100644 --- a/graphics/libcaca/Makefile +++ b/graphics/libcaca/Makefile @@ -7,7 +7,7 @@ PORTNAME= libcaca DISTVERSION= 0.99.beta11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://libcaca.zoy.org/files/ @@ -41,9 +41,15 @@ LIB_DEPENDS+= Imlib2.4:${PORTSDIR}/graphics/imlib2 .include <bsd.port.pre.mk> -.if defined(WITH_SLANG) || exists(${LOCALBASE}/lib/libslang.so.2) +.if defined(WITH_SLANG) +. if exists(${LOCALBASE}/lib/libslang.so.1) +LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang +. else LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2 +. endif CONFIGURE_ARGS+=--enable-slang +.else +CONFIGURE_ARGS+=--disable-slang .endif post-patch: |