aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2014-01-12 22:53:59 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2014-01-12 22:53:59 +0000
commit549b01a3f6b6ad073b753027471283dcbd7c15ec (patch)
tree93b1a7c430df2cb39811b345040a27a83110a9fd
parent55dc9b3139a9cdd0175408e6845025ca9c461051 (diff)
downloadports-549b01a3f6b6ad073b753027471283dcbd7c15ec.tar.gz
ports-549b01a3f6b6ad073b753027471283dcbd7c15ec.zip
Notes
-rw-r--r--graphics/ImageMagick/Makefile6
-rw-r--r--graphics/enfle/Makefile4
-rw-r--r--graphics/fv/Makefile11
3 files changed, 3 insertions, 18 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 5b984fa48c60..8e1f63b19fe8 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -264,11 +264,7 @@ CONFIGURE_ARGS+= --without-gvc
.endif
# LZMA support
-.if ${PORT_OPTIONS:MLZMA}
-. if (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || (${OSVERSION} < 800505)
-LIB_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
-. endif
-.else
+.if ! ${PORT_OPTIONS:MLZMA}
CONFIGURE_ARGS+= --without-lzma
.endif
diff --git a/graphics/enfle/Makefile b/graphics/enfle/Makefile
index 3b36df1737ac..b3bb0415515e 100644
--- a/graphics/enfle/Makefile
+++ b/graphics/enfle/Makefile
@@ -63,10 +63,6 @@ CONFIGURE_ARGS+= --disable-system-avcodec
PLIST_SUB+= AVCODEC="@comment "
.endif
-.if (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505
-LIB_DEPENDS+= lzma.5:${PORTSDIR}/archivers/xz
-.endif
-
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/local/|${LOCALBASE}/|g ; \
diff --git a/graphics/fv/Makefile b/graphics/fv/Makefile
index eb85bec57c14..59e2918aa2d0 100644
--- a/graphics/fv/Makefile
+++ b/graphics/fv/Makefile
@@ -24,7 +24,8 @@ ALL_TARGET= ${PORTNAME}
CXXFLAGS+= $$(pkg-config --cflags libpng15) \
-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= $$(pkg-config --libs libpng15) \
- -L${LOCALBASE}/lib -lglut -lGLU -lGL -lbz2 -lm -lz ${PTHREAD_LIBS}
+ -L${LOCALBASE}/lib -lglut -lGLU -lGL -lbz2 -lm -lz -llzma \
+ ${PTHREAD_LIBS}
PORTDOCS= AUTHORS ChangeLog README
PLIST_FILES= bin/${PORTNAME}
@@ -32,14 +33,6 @@ PLIST_FILES= bin/${PORTNAME}
NO_STAGE= yes
.include <bsd.port.options.mk>
-.if ((${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505)
-LIB_DEPENDS+= lzma.5:${PORTSDIR}/archivers/xz
-CXXFLAGS+= $$(pkg-config --cflags liblzma)
-LDFLAGS+= $$(pkg-config --libs liblzma)
-.else
-LDFLAGS+= -llzma
-.endif
-
.if !defined(WITH_DEBUG)
CXXFLAGS+= -DNDEBUG
.endif