1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Fix packaging

This commit is contained in:
Antoine Brodin 2014-10-06 21:02:15 +00:00
parent ece172b860
commit 145ca41419
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370229

View File

@ -1,6 +1,6 @@
--- mk/Autoconf.mk.orig 2008-06-09 17:56:36.000000000 +0300
+++ mk/Autoconf.mk 2009-05-28 08:51:09.000000000 +0300
@@ -109,7 +109,7 @@
--- mk/Autoconf.mk.orig 2012-02-22 17:13:36 UTC
+++ mk/Autoconf.mk
@@ -110,20 +110,14 @@
# $(call ac_fini))
ac_lib64 = $(shell \
$(call ac_init,for libdir name);\
@ -9,16 +9,17 @@
echo "lib64" || echo "lib");\
$(call ac_fini))
@@ -118,9 +118,9 @@
# check for x11 ressource dir prefix
ac_resdir = $(shell \
$(call ac_init,for X11 app-defaults prefix);\
$(call ac_s_cmd, for dir in \
/etc/X11/app-defaults \
- $(call ac_s_cmd, for dir in \
- /etc/X11/app-defaults \
- /usr/X11R6/lib/X11/app-defaults \
- /usr/share/X11/app-defaults \
- /usr/lib/X11/app-defaults \
+ ${PREFIX}/lib/X11/app-defaults \
+ ${PREFIX}/share/X11/app-defaults \
+ ${PREFIX}/lib/X11/app-defaults \
; do test -d "$$dir" || continue;\
dirname "$$dir"; break; done);\
- ; do test -d "$$dir" || continue;\
- dirname "$$dir"; break; done);\
+ $(call ac_s_cmd, dirname "${PREFIX}/lib/X11/app-defaults");\
$(call ac_fini))
# check if package is installed, via pkg-config