 f6ded076df
			
		
	
	
		f6ded076df
		
	
	
	
	
		
			
			serf requires you to explicitly tell it where to find the supertool because otherwise it has a hardcoded /usr/bin/apr-1-config (:P), ctail however is sensible and searches the PATH so now it's as though we do nothing special in that formula. Nice.
		
			
				
	
	
		
			16 lines
		
	
	
		
			362 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			362 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| if [[ "$HOMEBREW_CCCFG" == *a* ]]; then
 | |
|   case "$1" in
 | |
|   --cc) echo "cc";;
 | |
|   --cpp) echo "cpp";;
 | |
|   --includedir) echo "$HOMEBREW_SDKROOT/usr/include/apr-1";;
 | |
|   --includes) echo "-isystem$HOMEBREW_SDKROOT/usr/include/apr-1";;
 | |
|   --apr-libtool) echo "glibtool";;
 | |
|   *)
 | |
|     exec xcrun apr-1-config "$@";;
 | |
|   esac
 | |
| else
 | |
|   exec /usr/bin/apr-1-config "$@"
 | |
| fi
 |