pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/clamav



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri Oct 31 11:44:49 UTC 2025

Modified Files:
        pkgsrc/security/clamav: Makefile

Log Message:
clamav: Avoid --version-script on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 pkgsrc/security/clamav/Makefile

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

Modified files:

Index: pkgsrc/security/clamav/Makefile
diff -u pkgsrc/security/clamav/Makefile:1.102 pkgsrc/security/clamav/Makefile:1.103
--- pkgsrc/security/clamav/Makefile:1.102       Thu Oct 23 20:39:05 2025
+++ pkgsrc/security/clamav/Makefile     Fri Oct 31 11:44:49 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.102 2025/10/23 20:39:05 wiz Exp $
+# $NetBSD: Makefile,v 1.103 2025/10/31 11:44:49 jperkin Exp $
 
 #PKGREVISION= 5
 PKGREVISION= 2
@@ -33,6 +33,10 @@ CFLAGS.SunOS+=               -D__EXTENSIONS__
 CFLAGS.SunOS+=         -D_XOPEN_SOURCE=600
 .endif
 
+.for m in clamdscan libclamav libclamunrar libclamunrar_iface libfreshclam
+BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script=${WRKSRC}/${m}/${m}.map
+.endfor
+
 BUILD_DEFS+=   CLAMAV_USER CLAMAV_GROUP CLAMAV_DBDIR
 FILES_SUBST+=  CLAMAV_USER=${CLAMAV_USER}
 FILES_SUBST+=  CLAMAV_GROUP=${CLAMAV_GROUP}



Home | Main Index | Thread Index | Old Index