diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-04-03 11:26:48 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-04-03 11:26:48 +0000 |
commit | 0438143249634ab5028e53cb468d99a894c62995 (patch) | |
tree | 204c01c7973e83331fc29d8b09e59b3e9f219bd6 /audio/libgpod | |
parent | 68f48ea6c2e03359333e7b211625e51e06aa2026 (diff) | |
download | ports-0438143249634ab5028e53cb468d99a894c62995.tar.gz ports-0438143249634ab5028e53cb468d99a894c62995.zip |
Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).
Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.
Differential Revision: https://reviews.freebsd.org/D2209
Notes
Notes:
svn path=/head/; revision=383107
Diffstat (limited to 'audio/libgpod')
-rw-r--r-- | audio/libgpod/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/audio/libgpod/Makefile b/audio/libgpod/Makefile index 40f7f7b221d7..2bb189b1fe64 100644 --- a/audio/libgpod/Makefile +++ b/audio/libgpod/Makefile @@ -46,10 +46,9 @@ PYTHON_CONFIGURE_WITH= python PORTDOCS= ChangeLog NEWS README* -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MIMOBILE} && (${OSVERSION} > 900002 || \ - ${OSVERSION} < 900000 && ${OSVERSION} > 800107) +.if ${PORT_OPTIONS:MIMOBILE} COMMENT:= ${COMMENT:S,iPod,&/iPhone,} LIB_DEPENDS+= libimobiledevice.so:${PORTSDIR}/comms/libimobiledevice CONFIGURE_ENV+= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb" @@ -65,4 +64,4 @@ post-patch: post-install: ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |