diff --git a/security/heimdal/heimdal.conf b/security/heimdal/heimdal.conf
index 40655f169..6f2822997 100644
--- a/security/heimdal/heimdal.conf
+++ b/security/heimdal/heimdal.conf
@@ -1,8 +1,9 @@
 #!/bin/sh
-# --- T2-COPYRIGHT-NOTE-BEGIN ---
+# --- SDE-COPYRIGHT-NOTE-BEGIN ---
 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
 # 
-# T2 SDE: package/.../heimdal/heimdal.conf
+# Filename: package/.../heimdal/heimdal.conf
+# Copyright (C) 2007 The OpenSDE Project
 # Copyright (C) 2004 - 2006 The T2 SDE Project
 # 
 # More information can be found in the files COPYING and README.
@@ -11,7 +12,7 @@
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; version 2 of the License. A copy of the
 # GNU General Public License can be found in the file COPYING.
-# --- T2-COPYRIGHT-NOTE-END ---
+# --- SDE-COPYRIGHT-NOTE-END ---
 
 if [ $prefix_auto=1 ]; then
 	prefix=opt/heimdal
@@ -21,7 +22,7 @@ localstatedir=/var/heimdal
 
 var_insert CC_WRAPPER_INSERT " " "-D_REENTRANT"
 
-if [ $stagelevel -ge 5 ]; then
+if atstage native; then
 	if pkginstalled openssl; then
 		pkgprefix -t openssl
 		var_append extraconfopt ' ' "--with-openssl=$( pkgprefix sysconfdir openssl )"