diff options
author | agc <agc@pkgsrc.org> | 1999-07-07 18:13:56 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-07-07 18:13:56 +0000 |
commit | cf59f22df82daf585be72f07284e5de3a4022f3f (patch) | |
tree | 5edc8da67730c0093c4f6b8f3a7e7edad78c1e25 | |
parent | fce6f30864c31431172161c264625e2890f5369d (diff) | |
download | pkgsrc-cf59f22df82daf585be72f07284e5de3a4022f3f.tar.gz |
Make this package work on Solaris. Again.
-rw-r--r-- | sysutils/lsof/Makefile | 11 | ||||
-rw-r--r-- | sysutils/lsof/patches/patch-aa | 15 |
2 files changed, 22 insertions, 4 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile index 8340ec6d69d..60b997454dd 100644 --- a/sysutils/lsof/Makefile +++ b/sysutils/lsof/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 1999/06/25 02:41:14 hubertf Exp $ +# $NetBSD: Makefile,v 1.21 1999/07/07 18:13:56 agc Exp $ # FreeBSD Id: Makefile,v 1.19 1998/03/08 06:44:48 obrien Exp # @@ -17,18 +17,21 @@ HOMEPAGE= http://www-rcd.cc.purdue.edu/~abe/ HAS_CONFIGURE= yes CONFIGURE_SCRIPT= Configure -CONFIGURE_ARGS= -n ${LOWER_OPSYS} +CONFIGURE_ARGS= -n ${REAL_LOWER_OPSYS} SRCBALL_NAME= ${DISTNAME:S/_W$//} .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "NetBSD" -REAL_GROUP= -g kmem +REAL_GROUP= -g kmem .elif ${OPSYS} == "SunOS" -MAKE_ENV+= CPPFLAGS= +MAKE_ENV+= CPPFLAGS= +REAL_LOWER_OPSYS= solaris .endif +REAL_LOWER_OPSYS?= ${LOWER_OPSYS} + post-extract: @(cd ${WRKDIR} ; \ EXPMD5=`${GREP} MD5 README.${SRCBALL_NAME} | ${SED} 's/^[ ]*//'` ; \ diff --git a/sysutils/lsof/patches/patch-aa b/sysutils/lsof/patches/patch-aa new file mode 100644 index 00000000000..f96cf703391 --- /dev/null +++ b/sysutils/lsof/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.11 1999/07/07 18:13:56 agc Exp $ + +On Solaris, don't try to use ranlib... + +--- Configure.orig Tue May 11 07:40:20 1999 ++++ Configure Mon May 3 11:53:20 1999 +@@ -3037,7 +3046,7 @@ + then + echo "AR= $LSOF_AR" >> ${LSOF_LIB}/$LSOF_LIBMKF + fi # } +- if test "X$LSOF_RANLIB" != "X" # { ++ if test "X$LSOF_TGT" = "Xsolaris" -o "X$LSOF_RANLIB" != "X" # { + then + echo "RANLIB= $LSOF_RANLIB" >> ${LSOF_LIB}/$LSOF_LIBMKF + fi # } |