freebsd-ports/biology/povchem/files/patch-ab
James E. Housley 3866598402 - Fix MASTER_SITES
- Support CC/LOCALBASE/X11BASE/PREFIX properly

Remove file:
 patches/patch-aa

Approval from MAINTAINER after sending EMail

PR:		21609
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
Approved by:	Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw> MAINTAINER
2000-10-10 00:37:00 +00:00

21 lines
697 B
Plaintext

--- povchem.c.orig Sat Mar 14 17:19:41 1998
+++ povchem.c Sat Mar 14 17:20:32 1998
@@ -482,7 +482,7 @@
*/
if (*fileName==NULL) {
- New_String(fileName,"povchem.cfg");
+ New_String(fileName,SYSCONFDIR "/povchem.cfg");
if ((config=fopen(*fileName,"r"))==NULL) {
puts("Can't read the configuration file \"povchem.cfg\"!");
perror("Reason");
@@ -731,7 +731,7 @@
no_config:
- if (!PERIODIC_TABLE_FILE) New_String(&PERIODIC_TABLE_FILE,"periodic.tab");
+ if (!PERIODIC_TABLE_FILE) New_String(&PERIODIC_TABLE_FILE,DATADIR "/periodic.tab");
if (!FINISH) New_String(&FINISH,"Plastic");
if (!FINISH_DECLARATION) New_String(&FINISH_DECLARATION,"\
finish {\n\