Correction to the previous fix
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Apr 2007 13:56:30 +0000 (13:56 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Apr 2007 13:56:30 +0000 (13:56 +0000)
ANALYSIS/binaliengui.pkg

index 67367c6..696a5ee 100644 (file)
@@ -37,7 +37,8 @@ ELIBS+=f2c
 ELIBSDIR+=$(FINK_ROOT)/lib
 endif
 
-ifdef WITH_ALIEN
+CHECKALIEN = $(shell root-config --has-alien)
+ifeq (yes,$(CHECKALIEN))
 PACKBLIBS := $(ROOTCLIBS) $(ROOTPLIBS) -lProofPlayer -lProof -lNet -lRAliEn -lXMLIO -lNetx $(SYSLIBS)
 else
 PACKBLIBS := $(ROOTCLIBS) $(ROOTPLIBS) $(SYSLIBS)