aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/fv
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2014-01-13 06:53:59 +0800
committernaddy <naddy@FreeBSD.org>2014-01-13 06:53:59 +0800
commitcfe2be4fbef6c0a6e9f66f0c8f82b73428a29601 (patch)
tree93b1a7c430df2cb39811b345040a27a83110a9fd /graphics/fv
parentc95b047e32ad84c4597e3781259576186f2ae2f9 (diff)
downloadfreebsd-ports-gnome-cfe2be4fbef6c0a6e9f66f0c8f82b73428a29601.tar.gz
freebsd-ports-gnome-cfe2be4fbef6c0a6e9f66f0c8f82b73428a29601.tar.zst
freebsd-ports-gnome-cfe2be4fbef6c0a6e9f66f0c8f82b73428a29601.zip
xz has been in base long enough, drop workarounds for unsupported releases.
Diffstat (limited to 'graphics/fv')
-rw-r--r--graphics/fv/Makefile11
1 files changed, 2 insertions, 9 deletions
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