aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-07-21 15:09:04 +0800
committertg <tg@FreeBSD.org>1998-07-21 15:09:04 +0800
commit1ea782b3863bfa9fccc4fd067d1c9021740e509f (patch)
treed2db94c6d8b673180073ddc4deebfe910a621f34
parenta2b0bb333fed003ae05a96d27d6ce7733334acfa (diff)
downloadfreebsd-ports-gnome-1ea782b3863bfa9fccc4fd067d1c9021740e509f.tar.gz
freebsd-ports-gnome-1ea782b3863bfa9fccc4fd067d1c9021740e509f.tar.zst
freebsd-ports-gnome-1ea782b3863bfa9fccc4fd067d1c9021740e509f.zip
Add /usr/lib/aout to lib search path on -current.
-rw-r--r--x11/xlockmore/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 8e164eda775e..5d01b0f69f0d 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -3,7 +3,7 @@
# Date created: 9 November 1994
# Whom: smace
#
-# $Id: Makefile,v 1.34 1998/06/29 07:55:35 tg Exp $
+# $Id: Makefile,v 1.35 1998/07/20 16:37:51 asami Exp $
#
DISTNAME= xlockmore-4.11
@@ -26,6 +26,11 @@ CONFIGURE_ARGS+= --enable-kerberos4
USE_X11= yes
MAN1= xlock.1
+OSVERSION!= sysctl -n kern.osreldate
+.if ${OSVERSION} > 300000
+CONFIGURE_ARGS+= --with-libraries=/usr/lib/aout
+.endif
+
#
# MesaGL has a security hole. Don't use it in setuid binaries.
# Override this with WITH_MESAGL=yes in your environment.