pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/libXaw



Module Name:    pkgsrc
Committed By:   tnn
Date:           Fri Mar 17 08:17:09 UTC 2023

Modified Files:
        pkgsrc/x11/libXaw: Makefile

Log Message:
libXaw: fix post-install on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/x11/libXaw/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/libXaw/Makefile
diff -u pkgsrc/x11/libXaw/Makefile:1.22 pkgsrc/x11/libXaw/Makefile:1.23
--- pkgsrc/x11/libXaw/Makefile:1.22     Fri Mar 17 07:31:48 2023
+++ pkgsrc/x11/libXaw/Makefile  Fri Mar 17 08:17:08 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2023/03/17 07:31:48 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2023/03/17 08:17:08 tnn Exp $
 
 DISTNAME=              libXaw-1.0.15
 CATEGORIES=            x11 graphics
@@ -16,11 +16,19 @@ PKGCONFIG_OVERRIDE+=        xaw7.pc.in
 GNU_CONFIGURE=         yes
 CONFIGURE_ENV+=                LIB_MAN_SUFFIX=3
 
+.include "../../mk/bsd.prefs.mk"
+
 # remove compatibility links that never were in pkgsrc
 post-install:
+.if ${OBJECT_FMT} == "Mach-O"
+       ${RM} -f ${DESTDIR}${PREFIX}/lib/libXaw.dylib
+       ${RM} -f ${DESTDIR}${PREFIX}/lib/libXaw.6.dylib
+       ${RM} -f ${DESTDIR}${PREFIX}/lib/libXaw.7.dylib
+.else
        ${RM} -f ${DESTDIR}${PREFIX}/lib/libXaw.so
        ${RM} -f ${DESTDIR}${PREFIX}/lib/libXaw.so.6
        ${RM} -f ${DESTDIR}${PREFIX}/lib/libXaw.so.7
+.endif
 
 .include "../../x11/libICE/buildlink3.mk"
 .include "../../x11/libSM/buildlink3.mk"



Home | Main Index | Thread Index | Old Index