瀏覽代碼

fix building under Linux

Ralf S. Engelschall 24 年之前
父節點
當前提交
7edd0eddd5
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      postfix/postfix.spec

+ 3 - 0
postfix/postfix.spec

@@ -131,6 +131,9 @@ Provides:     MTA
     %{l_rpmtool} subst \
     %{l_rpmtool} subst \
         's;config_directory/postfix-script;command_directory/postfix-script;' \
         's;config_directory/postfix-script;command_directory/postfix-script;' \
         -- conf/postfix-script*
         -- conf/postfix-script*
+    %{l_rpmtool} subst \
+        's;/usr/include;%{l_prefix}/include;g' \
+        -- makedefs
 
 
 %build
 %build