PORTNAME isn't set until the global makefiles have been included.
Attach a file by drag & drop or click to upload