aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/adesklets/Makefile
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-05-31 12:22:35 +0800
committernovel <novel@FreeBSD.org>2005-05-31 12:22:35 +0800
commit62ec0acba559a1a0638344dc5f9603f8272467a5 (patch)
tree9e708544c8d45b8cc19c9e6df9e31e365052581d /deskutils/adesklets/Makefile
parent465a5e1ca4b0172be0c4723f380bb10f1be0dda0 (diff)
downloadfreebsd-ports-gnome-62ec0acba559a1a0638344dc5f9603f8272467a5.tar.gz
freebsd-ports-gnome-62ec0acba559a1a0638344dc5f9603f8272467a5.tar.zst
freebsd-ports-gnome-62ec0acba559a1a0638344dc5f9603f8272467a5.zip
Attempt to fix build on 4.x by adding readline dependency.
Reported by: pointyhat via kris
Diffstat (limited to 'deskutils/adesklets/Makefile')
-rw-r--r--deskutils/adesklets/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/deskutils/adesklets/Makefile b/deskutils/adesklets/Makefile
index 7ce6044945a9..dbddb26655ee 100644
--- a/deskutils/adesklets/Makefile
+++ b/deskutils/adesklets/Makefile
@@ -27,6 +27,12 @@ INFO= adesklets \
SUB_FILES= pkg-message
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
+.endif
+
.if !defined(NOPORTDOCS)
PORTDOCS= *.html
.endif
@@ -40,4 +46,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>