aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-12-05 01:56:13 +0800
committermat <mat@FreeBSD.org>2014-12-05 01:56:13 +0800
commit6d46812095be7eebcd4a3520328f34b00f0899a1 (patch)
tree9d1fb3306eeed2e6949b8c96d398fa2970b2ef97 /sysutils
parentfbd267784ec020ffb596328f5fa14abe66644d6c (diff)
downloadfreebsd-ports-graphics-6d46812095be7eebcd4a3520328f34b00f0899a1.tar.gz
freebsd-ports-graphics-6d46812095be7eebcd4a3520328f34b00f0899a1.tar.zst
freebsd-ports-graphics-6d46812095be7eebcd4a3520328f34b00f0899a1.zip
Add Perl's dlldflags when linking.
With hat: perl Sponsored by: Absolight
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/openipmi/files/patch-swig_perl_Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/openipmi/files/patch-swig_perl_Makefile.in b/sysutils/openipmi/files/patch-swig_perl_Makefile.in
new file mode 100644
index 00000000000..7cfe352372f
--- /dev/null
+++ b/sysutils/openipmi/files/patch-swig_perl_Makefile.in
@@ -0,0 +1,11 @@
+--- swig/perl/Makefile.in.orig 2014-12-04 17:01:40 UTC
++++ swig/perl/Makefile.in
+@@ -533,7 +533,7 @@ uninstall-am: uninstall-local
+ all: OpenIPMI.so
+
+ OpenIPMI.so: $(OpenIPMI_OBJ)
+- $(LIBTOOL) --mode=link $(CC) -shared -module -avoid-version -o $(@:.so=.la) $^ $(OPENIPMI_SWIG_LIBS) $(PERL_POSIX_LIB) -rpath $(PERL_INSTALL_DIR)/auto/OpenIPMI
++ $(LIBTOOL) --mode=link $(CC) -shared -module -avoid-version -o $(@:.so=.la) $^ $(OPENIPMI_SWIG_LIBS) $(PERL_POSIX_LIB) -rpath $(PERL_INSTALL_DIR)/auto/OpenIPMI `perl -MConfig -e 'print $$Config{lddlflags}'`
+ rm -f OpenIPMI.so
+ mv .libs/OpenIPMI.so .
+ rm -rf .libs