mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 10:18:09 -04:00
41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
$NetBSD: patch-src_Makefile.shlib,v 1.2 2012/07/16 21:17:12 asau Exp $
|
|
|
|
--- src/Makefile.shlib.orig 2012-05-31 23:09:35.000000000 +0000
|
|
+++ src/Makefile.shlib
|
|
@@ -171,17 +171,11 @@ endif
|
|
|
|
ifeq ($(PORTNAME), freebsd)
|
|
ifdef ELF_SYSTEM
|
|
- ifdef SO_MAJOR_VERSION
|
|
- shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
|
|
- endif
|
|
LINK.shared = $(COMPILER) -shared
|
|
ifdef soname
|
|
LINK.shared += -Wl,-x,-soname,$(soname)
|
|
endif
|
|
else
|
|
- ifdef SO_MAJOR_VERSION
|
|
- shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
|
- endif
|
|
LINK.shared = $(LD) -x -Bshareable -Bforcearchive
|
|
endif
|
|
endif
|
|
@@ -197,6 +191,17 @@ ifeq ($(PORTNAME), netbsd)
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(PORTNAME), dragonfly)
|
|
+ ifdef ELF_SYSTEM
|
|
+ LINK.shared = $(COMPILER) -shared
|
|
+ ifdef soname
|
|
+ LINK.shared += -Wl,-x,-soname,$(soname)
|
|
+ endif
|
|
+ else
|
|
+ LINK.shared = $(LD) -x -Bshareable -Bforcearchive
|
|
+ endif
|
|
+endif
|
|
+
|
|
ifeq ($(PORTNAME), hpux)
|
|
ifdef SO_MAJOR_VERSION
|
|
shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
|