aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2012-06-20 15:52:17 +0800
committerhrs <hrs@FreeBSD.org>2012-06-20 15:52:17 +0800
commit0dc14bed974e35ec9e997f5d32c8c18702a2c23d (patch)
treec7450f8c634cee71ca91306a80b988df253d0717
parent9f15ee7956cf9e52bf5ab9cf9273587fe6d20c55 (diff)
downloadfreebsd-ports-gnome-0dc14bed974e35ec9e997f5d32c8c18702a2c23d.tar.gz
freebsd-ports-gnome-0dc14bed974e35ec9e997f5d32c8c18702a2c23d.tar.zst
freebsd-ports-gnome-0dc14bed974e35ec9e997f5d32c8c18702a2c23d.zip
Style fix: include bsd.port.pre.mk before using SRC_BASE.
PR: ports/169218 Submitted by: jgh
-rw-r--r--print/acroreadwrapper/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/print/acroreadwrapper/Makefile b/print/acroreadwrapper/Makefile
index 1b94e2b05b58..5fa6339717a3 100644
--- a/print/acroreadwrapper/Makefile
+++ b/print/acroreadwrapper/Makefile
@@ -20,7 +20,7 @@ ONLY_FOR_ARCHS= amd64 i386
PLIST_FILES= bin/acroread8 bin/acroread9 bin/acroread \
${KMODDIR}/linux_adobe.ko
PLIST_DIRS= ${KMODDIR}
-SUB_FILES= acroread
+SUB_FILES= acroread
SUB_LIST= ACROBASE8=${ACROBASE8} \
ACROBASE9=${ACROBASE9} \
ADOBE_LANG=${ADOBE_LANG:U} \
@@ -30,6 +30,9 @@ SUB_LIST= ACROBASE8=${ACROBASE8} \
PLUGINDIR=${PLUGINDIR} \
KMODDIR=${KMODDIR}
USE_RC_SUBR= linux_adobe.sh
+
+.include <bsd.port.pre.mk>
+
MAKE_ENV= KMODDIR=${KMODDIR} SYSDIR=${SRC_BASE}/sys DESTDIR=${PREFIX}/
ADOBEBASE= Adobe
@@ -38,7 +41,6 @@ ACROBASE9= ${ADOBEBASE}/Reader9
PLUGINDIR= lib/npapi/linux-acroread
KMODDIR= libexec/linux_adobe
-.include <bsd.port.pre.mk>
KERNCONF?= GENERIC
# Use the first component of ${KERNCONF}.