pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python24 correct installation and plist on hpux



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56f69d17150b
branches:  trunk
changeset: 528159:56f69d17150b
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Apr 22 20:12:43 2007 +0000

description:
correct installation and plist on hpux

diffstat:

 lang/python24/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r c368cb04ab0a -r 56f69d17150b lang/python24/Makefile
--- a/lang/python24/Makefile    Sun Apr 22 19:54:44 2007 +0000
+++ b/lang/python24/Makefile    Sun Apr 22 20:12:43 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2006/11/03 07:15:41 joerg Exp $
+# $NetBSD: Makefile,v 1.30 2007/04/22 20:12:43 tnn Exp $
 #
 
 DISTNAME=      Python-2.4.3
@@ -51,6 +51,8 @@
 PY_PLATNAME=   ${LOWER_OPSYS:C/\..*//}
 .elif ${OPSYS} == "SunOS"
 PY_PLATNAME=   sunos${OS_VERSION:C/\..*//}
+.elif ${OPSYS} == "HPUX"
+PY_PLATNAME=   hp-ux11
 .else
 PY_PLATNAME=   ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
 .endif
@@ -148,6 +150,12 @@
                ${DESTDIR}${PREFIX}/lib/libpython2.4.dylib
 .endif
 
+.if ${OPSYS} == "HPUX"
+post-install:
+       ${LN} -fs ${DESTDIR}${PREFIX}/lib/libpython2.4.sl \
+               ${DESTDIR}${PREFIX}/lib/libpython2.4.sl.1.0
+.endif
+
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index