aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-09-17 09:00:23 +0800
committerasami <asami@FreeBSD.org>1998-09-17 09:00:23 +0800
commit9f9915167012033409278bdab413cc6feea8df1c (patch)
tree7d542c130efe889c293f89bfaad0aac3ef9878e6
parent50bc92a813e075d816fcd02174e2b2d8a72066f3 (diff)
downloadfreebsd-ports-graphics-9f9915167012033409278bdab413cc6feea8df1c.tar.gz
freebsd-ports-graphics-9f9915167012033409278bdab413cc6feea8df1c.tar.zst
freebsd-ports-graphics-9f9915167012033409278bdab413cc6feea8df1c.zip
Remove shlib minor if PORTOBJFORMAT=elf.
-rw-r--r--Mk/bsd.port.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index eadbce57275..1cdd0e78612 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1,7 +1,7 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
#
-# $Id: bsd.port.mk,v 1.287 1998/09/10 06:38:02 asami Exp $
+# $Id: bsd.port.mk,v 1.288 1998/09/16 12:04:38 asami Exp $
# $NetBSD: $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
@@ -2002,6 +2002,8 @@ generate-plist:
@${SED} ${_sedsubplist} ${PLIST} >> ${TMPPLIST}
.if (${PORTOBJFORMAT} == "aout")
@${SED} -e 's,\(/lib.*\.so\.[0-9]*\)$$,\1.0,' ${TMPPLIST} > ${TMPPLIST}.tmp
+.else
+ @${SED} -e 's,\(/lib.*\.so\.[0-9]*\)\.[0-9]*$$,\1,' ${TMPPLIST} > ${TMPPLIST}.tmp
@${MV} -f ${TMPPLIST}.tmp ${TMPPLIST}
.endif
.endif