diff options
author | marino <marino@FreeBSD.org> | 2013-09-16 06:15:58 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2013-09-16 06:15:58 +0800 |
commit | 541660fb215821cb7fed36ee2c22b10f3496e826 (patch) | |
tree | fbb95068aaa187d4751f1f53c8d830e9376cf341 /Mk/Uses | |
parent | a940efaa9ba165f3b0273baf3d40533a568469a3 (diff) | |
download | freebsd-ports-gnome-541660fb215821cb7fed36ee2c22b10f3496e826.tar.gz freebsd-ports-gnome-541660fb215821cb7fed36ee2c22b10f3496e826.tar.zst freebsd-ports-gnome-541660fb215821cb7fed36ee2c22b10f3496e826.zip |
Mk/Uses/readline.mk: Restore functionality for DragonFly
For minimal breakage reasons, DragonFly has OSVERSION set to the
equivalent of FreeBSD 99. When the readline compatibility for FreeBSD
10 was revoked recently, it broke a lot of dports.
Restore the default to how it was before on DragonFly only to restore
those ports using OPSYS.
Approved by: portmgr (bapt)
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/readline.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/Uses/readline.mk b/Mk/Uses/readline.mk index c9f6161d250e..9e91edf1b960 100644 --- a/Mk/Uses/readline.mk +++ b/Mk/Uses/readline.mk @@ -12,9 +12,12 @@ .if !defined(_INCLUDE_USES_READLINE_MK) _INCLUDE_USES_READLINE_MK= yes -#.if ${OSVERSION} > 1000000 +#.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000000 #readline_ARGS= port #.endif +.if ${OPSYS} == DragonFly +readline_ARGS= port +.endif .if defined(readline_ARGS) && ${readline_ARGS} == port LIB_DEPENDS+= libreadline.so.6:${PORTSDIR}/devel/readline |