pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libdnsres



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jul 19 15:11:51 UTC 2023

Modified Files:
        pkgsrc/devel/libdnsres: Makefile

Log Message:
libdnsres: Even when PKGSRC_MKPIE is off, need to use -fPIC here due
to shared object creation.


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

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

Modified files:

Index: pkgsrc/devel/libdnsres/Makefile
diff -u pkgsrc/devel/libdnsres/Makefile:1.22 pkgsrc/devel/libdnsres/Makefile:1.23
--- pkgsrc/devel/libdnsres/Makefile:1.22        Sun Jul  9 14:11:49 2023
+++ pkgsrc/devel/libdnsres/Makefile     Wed Jul 19 15:11:51 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2023/07/09 14:11:49 nia Exp $
+# $NetBSD: Makefile,v 1.23 2023/07/19 15:11:51 nia Exp $
 #
 
 DISTNAME=              libdnsres-0.1a
-PKGREVISION=           14
+PKGREVISION=           15
 CATEGORIES=            devel
 MASTER_SITES=          https://www.monkey.org/~provos/
 
@@ -15,6 +15,10 @@ USE_LIBTOOL=         YES
 GNU_CONFIGURE=         YES
 MAKE_JOBS_SAFE=                NO
 
+# Need -fPIC when compiling objects for shared libraries, even
+# if PKGSRC_MKPIE is no.
+CFLAGS+=               -fPIC
+
 # uses event_once
 BUILDLINK_API_DEPENDS.libevent+=       libevent>=0.9
 



Home | Main Index | Thread Index | Old Index